emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/org 5d5a7832ec 09/50: Backport commit 18b680cfd from Em


From: ELPA Syncer
Subject: [elpa] externals/org 5d5a7832ec 09/50: Backport commit 18b680cfd from Emacs
Date: Tue, 4 Oct 2022 21:57:58 -0400 (EDT)

branch: externals/org
commit 5d5a7832ec1e5b471b1833721464854f07a766bd
Author: Sam Steingold <sdsg@amazon.com>
Commit: Kyle Meyer <kyle@kyleam.com>

    Backport commit 18b680cfd from Emacs
    
    * lisp/ol-eshell.el (org-eshell-open): Pass
    'display-comint-buffer-action' to 'pop-to-buffer' instead of using
    'pop-to-buffer-same-window'.
    
    Fix bug#52467 by adding a new custom variable 'display-comint-buffer-action'
    18b680cfd177e877991be2bd70ead628bbdc0aa0
    Sam Steingold
    Tue Dec 28 17:28:49 2021 -0500
    
    [ km: Note that display-comint-buffer-action isn't available until
      Emacs 29.  A compatibility kludge will be added in a follow-up
      commit. ]
---
 lisp/ol-eshell.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ol-eshell.el b/lisp/ol-eshell.el
index 1dee61b98b..1ca2aa2b28 100644
--- a/lisp/ol-eshell.el
+++ b/lisp/ol-eshell.el
@@ -46,7 +46,7 @@ followed by a colon."
          (eshell-buffer-name (car buffer-and-command))
          (command (cadr buffer-and-command)))
     (if (get-buffer eshell-buffer-name)
-       (pop-to-buffer-same-window eshell-buffer-name)
+       (pop-to-buffer eshell-buffer-name display-comint-buffer-action)
       (eshell))
     (goto-char (point-max))
     (eshell-kill-input)



reply via email to

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