emacs-devel
[Top][All Lists]
Advanced

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

Re: master 2bf3790f374: desktop.el: Janitorial cleanup


From: Arash Esbati
Subject: Re: master 2bf3790f374: desktop.el: Janitorial cleanup
Date: Wed, 23 Apr 2025 11:04:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Stefan Monnier via Mailing list for Emacs changes <emacs-diffs@gnu.org> writes:

> branch: master
> commit 2bf3790f374e0a162e05a470940f57b43a244ad7
> Author: Stefan Monnier <monnier@iro.umontreal.ca>
> Commit: Stefan Monnier <monnier@iro.umontreal.ca>
>
>     desktop.el: Janitorial cleanup
>     
>     * lisp/desktop.el: Remove redundant `:group` arguments.
>     Prefer #' to quote function names.
>     (desktop-var-serdes-funs): Improve docstring markup.
>     (desktop-clear, desktop-create-buffer): Use lexical-binding.
>     (desktop--v2s): Avoid (ab)use of ,@ which doesn't splice a list.
>     (desktop-outvar): Strength-reduce `eval` => `symbol-value`.
>     (desktop-create-buffer): Don't assume point-min==1.
>     (desktop-buffer): Belatedly mark as obsolete.
>     (desktop-read): Use `locate-file`.
> ---
>  lisp/desktop.el | 92 
> ++++++++++++++++++++++-----------------------------------
>  1 file changed, 36 insertions(+), 56 deletions(-)
>
> diff --git a/lisp/desktop.el b/lisp/desktop.el
> index b19889c5c42..a0492770517 100644
> --- a/lisp/desktop.el
> +++ b/lisp/desktop.el
> @@ -174,7 +174,7 @@ to t, or add this line in your init file:
>      (desktop-save-mode 1)
>  
>  When this mode is enabled, Emacs will save the desktop when it exits
> -(this may prompt you, see the option `desktop-save').  The next time
> +\(this may prompt you, see the option `desktop-save').  The next time

Is quoting the open-parenthesis in docstrings still necessary?  I
thought the underlying issue was resolved with Emacs 27 or so.

Best, Arash



reply via email to

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