emacs-devel
[Top][All Lists]
Advanced

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

Re: defcustom and the stars.


From: Eli Zaretskii
Subject: Re: defcustom and the stars.
Date: Wed, 03 Jan 2007 20:17:02 +0200

> Date: Wed, 3 Jan 2007 14:08:52 +0100
> From: "Juanma Barranquero" <address@hidden>
> Cc: Stefan Monnier <address@hidden>, address@hidden
> 
> --- lisp/help-fns.el  17 Dec 2006 22:14:11 -0000      1.94
> +++ lisp/help-fns.el  3 Jan 2007 13:06:01 -0000
> @@ -593,5 +593,7 @@
>                        (format "`%s'.\n" safe-var))))
>             (princ "\nDocumentation:\n")
> -              (princ (or doc "Not documented as a variable.")))
> +           (if doc
> +               (princ (replace-regexp-in-string "^\*" "" doc))
> +             (princ "Not documented as a variable.")))
>           ;; Make a link to customize if this variable can be customized.
>           (if (custom-variable-p variable)

If this change is agreed upon, please explain the
replace-regexp-in-string trick in a comment.




reply via email to

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