From ef7bc1cc80e727aca10957f4101eefa04e47c84c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 2 Oct 2020 08:07:53 +0200 Subject: [PATCH] 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. --- lisp/ebuff-menu.el | 1 + 1 file changed, 1 insertion(+) 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))