emacs-diffs
[Top][All Lists]
Advanced

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

master 7551aff 4/4: Bind switch-to-buffer-obey-display-actions to t


From: Dmitry Gutov
Subject: master 7551aff 4/4: Bind switch-to-buffer-obey-display-actions to t
Date: Sun, 26 Jul 2020 19:57:27 -0400 (EDT)

branch: master
commit 7551aff22cd81dbdf68fbd223f4a6ef7e842c2dd
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Bind switch-to-buffer-obey-display-actions to t
    
    * lisp/progmodes/project.el (project--other-place-command):
    Bind switch-to-buffer-obey-display-actions to t, so that
    project-other-window-command and friends can affect
    project-switch-to-buffer.
---
 lisp/progmodes/project.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 8363dff..c0cb691 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -613,6 +613,7 @@ DIRS must contain directory names."
   (let* ((key (read-key-sequence-vector nil t))
          (place-cmd (lookup-key map key))
          (generic-cmd (lookup-key project-prefix-map key))
+         (switch-to-buffer-obey-display-actions t)
          (display-buffer-overriding-action (unless place-cmd action)))
     (if-let ((cmd (or place-cmd generic-cmd)))
         (call-interactively cmd)



reply via email to

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