projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78eacf3
)
Fix electric-buffer-list buffer selection
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 2 Oct 2020 06:07:53 +0000
(08:07 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 2 Oct 2020 14:17:39 +0000
(16:17 +0200)
* 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
patch
|
blob
|
history
diff --git
a/lisp/ebuff-menu.el
b/lisp/ebuff-menu.el
index 7285021676c12680c0236a123f9552b4d9d68172..079fce88defd93aa19b42b4d7df53f747a32b1cd 100644
(file)
--- 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))