mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
remember-notes: Use pop-to-buffer-same-window not switch-to-buffer
* lisp/textmodes/remember.el (remember-notes): Use pop-to-buffer-same-window rather than switch-to-buffer, to allow customization via display-buffer-alist.
This commit is contained in:
parent
21ef29d4b1
commit
8d788a195f
1 changed files with 1 additions and 1 deletions
|
|
@ -653,7 +653,7 @@ to turn the *scratch* buffer into your notes buffer."
|
|||
(remember-notes-mode 1)
|
||||
(current-buffer)))))
|
||||
(when switch-to
|
||||
(switch-to-buffer buf))
|
||||
(pop-to-buffer-same-window buf))
|
||||
buf))
|
||||
|
||||
(defun remember-notes--kill-buffer-query ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue