mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Fix buffer menu unmark on first line (bug#80089)
* lisp/buff-menu.el (Buffer-menu-backup-unmark): Remove mark on first line too.
This commit is contained in:
parent
62f50367ba
commit
fd50808154
1 changed files with 1 additions and 2 deletions
|
|
@ -506,8 +506,7 @@ When called interactively prompt for MARK; RET remove all marks."
|
|||
(forward-line -1)
|
||||
(while (and (not (tabulated-list-get-id)) (not (bobp)))
|
||||
(forward-line -1))
|
||||
(unless (bobp)
|
||||
(Buffer-menu--unmark)))
|
||||
(if (tabulated-list-get-id) (Buffer-menu--unmark)))
|
||||
|
||||
(defun Buffer-menu--unmark ()
|
||||
(tabulated-list-set-col 0 " " t)
|
||||
|
|
|
|||
Loading…
Reference in a new issue