mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(describe-variable): Check custom-loads property as well as custom-type.
This commit is contained in:
parent
5cf1c7acbf
commit
a4bb8336f9
1 changed files with 3 additions and 1 deletions
|
|
@ -766,7 +766,9 @@ Returns the documentation as a string, also."
|
|||
;; Note, it is not reliable to test only for a custom-type property
|
||||
;; because those are only present after the var's definition
|
||||
;; has been loaded.
|
||||
(if (or (user-variable-p variable) (get variable 'custom-type))
|
||||
(if (or (user-variable-p variable)
|
||||
(get variable 'custom-loads)
|
||||
(get variable 'custom-type))
|
||||
(let ((customize-label "customize"))
|
||||
(terpri)
|
||||
(terpri)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue