diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-10-02 08:07:53 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-10-02 16:17:39 +0200 |
commit | ef7bc1cc80e727aca10957f4101eefa04e47c84c (patch) | |
tree | 1679dcdd62f8a8808671e8167c1417e6a694715d /lisp/ebuff-menu.el | |
parent | 78eacf31e8fe182801ad1943fac717b75fcf286b (diff) | |
download | emacs-ef7bc1cc80e727aca10957f4101eefa04e47c84c.tar.gz emacs-ef7bc1cc80e727aca10957f4101eefa04e47c84c.tar.bz2 emacs-ef7bc1cc80e727aca10957f4101eefa04e47c84c.zip |
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.
Diffstat (limited to 'lisp/ebuff-menu.el')
-rw-r--r-- | lisp/ebuff-menu.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ebuff-menu.el b/lisp/ebuff-menu.el index 7285021676c..079fce88def 100644 --- a/lisp/ebuff-menu.el +++ b/lisp/ebuff-menu.el @@ -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)) |