[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 0d842e3 062/184: ivy.el (ivy-switch-buffer): Clean up

From: Oleh Krehel
Subject: [elpa] master 0d842e3 062/184: ivy.el (ivy-switch-buffer): Clean up
Date: Wed, 16 Oct 2019 13:14:49 -0400 (EDT)

branch: master
commit 0d842e3afdc72dfa2e34def39b964a8ba69f218b
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy-switch-buffer): Clean up
    `this-command' was used in place of :caller before it was introduced. Clean 
it up now.
 ivy.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index df0f514..a38d208 100644
--- a/ivy.el
+++ b/ivy.el
@@ -4269,7 +4269,6 @@ Skip buffers that match `ivy-ignore-buffers'."
 (defun ivy-switch-buffer ()
   "Switch to another buffer."
-  (setq this-command #'ivy-switch-buffer)
   (ivy-read "Switch to buffer: " #'internal-complete-buffer
             :keymap ivy-switch-buffer-map
             :preselect (buffer-name (other-buffer (current-buffer)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]