]> git.eshelyaron.com Git - emacs.git/commitdiff
Bind switch-to-buffer-obey-display-actions to t
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 26 Jul 2020 23:51:39 +0000 (02:51 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 26 Jul 2020 23:57:06 +0000 (02:57 +0300)
* 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

index 8363dffbed6c86ce463eee5c6cdcad43e3eb3aa8..c0cb691b36832c857e6c8c258fef77b2a0c145fe 100644 (file)
@@ -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)