emacs-devel
[Top][All Lists]
Advanced

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

Re: master 58fde63: * lisp/help-fns.el (describe-variable): Add quotes t


From: Stefan Monnier
Subject: Re: master 58fde63: * lisp/help-fns.el (describe-variable): Add quotes to symbol value of origval.
Date: Sun, 03 Nov 2019 18:32:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> -                      (cl-prin1 origval)
> +                   (if (and (symbolp origval) (not (booleanp origval)))
> +                       (let* ((rep (cl-prin1-to-string origval))
> +                              (print-rep (format-message "`%s'" rep)))
> +                         (insert print-rep))
> +                     (cl-prin1 origval))

I'd recommend we add a ":" at the end of the preceding text instead.
Avoids any question about whether the quotes are actually part of the
value, and makes copy&paste easier.


        Stefan




reply via email to

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