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: Stefan Monnier
Subject: bug#53910: [External] : bug#53910: 29.0.50; context-menu-mode breaks help in read-only buffers
Date: Sat, 19 Feb 2022 09:38:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> I recommend against calling 'bury-buffer' in Lisp code: A function that
> does
>
>   If BUFFER-OR-NAME is nil or omitted, bury the
>   current buffer.  Also, if BUFFER-OR-NAME is nil or omitted,
>   remove the current buffer from the selected window if it is
>   displayed there.
>
> is clearly intended for interactive use only.

I think I understand why you say that but the interactive spec only
allows passing nil as argument, so maybe calling `bury-buffer` with
a nil argument should not be done from Elisp, but if calling
`bury-buffer` *in general* should not be done for Elisp, then we can
simplify the docstring ;-)


        Stefan






reply via email to

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