(setq found (nth 1 current)
names nil)))
(unless found
- (let ((doc (documentation-property symbol 'variable-documentation))
+ (let ((doc (documentation-property symbol 'variable-documentation t))
(docs custom-guess-doc-alist))
(when doc
(while docs
"Return documentation of VARIABLE for use in Custom buffer.
Normally just return the docstring. But if VARIABLE automatically
becomes buffer local when set, append a message to that effect."
- (format "%s%s" (documentation-property variable 'variable-documentation)
+ (format "%s%s" (documentation-property variable 'variable-documentation t)
(if (and (local-variable-if-set-p variable)
(or (not (local-variable-p variable))
(with-temp-buffer
(members (custom-group-members symbol
(and (eq custom-buffer-style 'tree)
custom-browse-only-groups)))
- (doc (widget-docstring widget)))
+ (doc (substitute-command-keys (widget-docstring widget))))
(cond ((and (eq custom-buffer-style 'tree)
(eq state 'hidden)
(or members (custom-unloaded-widget-p widget)))
(text-quoting-style
help
(choice
- (const :tag "Quote with curved single quotes" curve)
- (const :tag "Quote with straight apostrophes 'like this'"
- straight)
- (const :tag "Quote with grave accent and apostrophe `like this'"
- grave)
+ (const :tag "Quote with curved single quotes \\=‘like this\\=’" curve)
+ (const :tag "Quote with straight apostrophes \\='like this\\='" straight)
+ (const :tag "Quote with grave accent and apostrophe \\=`like this\\='" grave)
(const :tag "Use curved quotes if displayable, grave accent and apostrophe otherwise" nil))
"25.1")
;; dosfns.c
(cond ((functionp doc-prop)
(funcall doc-prop value))
((symbolp doc-prop)
- (documentation-property value doc-prop)))))))
+ (documentation-property value doc-prop t)))))))
(when (and (stringp doc) (> (length doc) 0))
;; Remove any redundant `*' in the beginning.
(when (eq (aref doc 0) ?*)