Commit a4bb8336 authored by Richard M. Stallman's avatar Richard M. Stallman

(describe-variable): Check custom-loads property as well as custom-type.

parent 5cf1c7ac
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment