mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-06 11:55:48 +00:00
Fix electric-buffer-list buffer selection
* lisp/ebuff-menu.el (electric-buffer-list): Ensure that point is restored, which isn't always the case if global-display-line-numbers-mode (bug#43755). This enables selecting buffers again.
This commit is contained in:
parent
78eacf31e8
commit
ef7bc1cc80
@ -162,6 +162,7 @@ Run hooks in `electric-buffer-menu-mode-hook' on entry.
|
||||
(message "")))
|
||||
(when select
|
||||
(set-buffer buffer)
|
||||
(goto-char select)
|
||||
(let ((opoint (point-marker)))
|
||||
(Buffer-menu-execute)
|
||||
(goto-char (point-min))
|
||||
|
Loading…
Reference in New Issue
Block a user