bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53910: [External] : bug#53910: 29.0.50; context-menu-mode breaks hel


From: Juri Linkov
Subject: bug#53910: [External] : bug#53910: 29.0.50; context-menu-mode breaks help in read-only buffers
Date: Sun, 20 Feb 2022 20:44:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

> Many of those assign 'bury-buffer' to a key (which is perfectly valid)
> or call it with an explicit BUFFER-OR-NAME argument (which is also valid
> but could avoid the extra indirection by calling 'bury-buffer-internal'
> right away).  Problematic are calls without arguments, especially when
> they are wrapped in 'with-selected-window' like in 'tab-line-close-tab'.

Then 'bury-buffer' could have a new optional argument WINDOW,
thus changing this line:

          (not (eq buffer (window-buffer)))

to:

          (not (eq buffer (window-buffer window)))

and using WINDOW in other places in 'bury-buffer' too.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]