HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comment change.
[bpt/emacs.git]
/
lisp
/
help.el
diff --git
a/lisp/help.el
b/lisp/help.el
index
8d9f94f
..
e1a65c7
100644
(file)
--- a/
lisp/help.el
+++ b/
lisp/help.el
@@
-738,8
+738,10
@@
Returns the documentation as a string, also."
(help-setup-xref (list #'describe-variable variable) (interactive-p))
;; Make a link to customize if this variable can be customized.
(help-setup-xref (list #'describe-variable variable) (interactive-p))
;; Make a link to customize if this variable can be customized.
- (if (or (get variable 'custom-type)
- (user-variable-p variable))
+ ;; Note, it is not reliable to test for a custom-type property
+ ;; because those are only present after the var's definition
+ ;; has been loaded.
+ (if (user-variable-p variable)
(let ((customize-label "customize"))
(terpri)
(terpri)
(let ((customize-label "customize"))
(terpri)
(terpri)