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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue