From: Dmitry Gutov Date: Sun, 26 Jul 2020 23:51:39 +0000 (+0300) Subject: Bind switch-to-buffer-obey-display-actions to t X-Git-Tag: emacs-28.0.90~6929 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7551aff22cd81dbdf68fbd223f4a6ef7e842c2dd;p=emacs.git 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. --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 8363dffbed6..c0cb691b368 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)