Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
289e1999
Commit
289e1999
authored
Jul 07, 2005
by
Luc Teirlinck
Browse files
(custom-variable-p): Make it recursively follow aliases. Mention that
in the docstring.
parent
c778ed49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/custom.el
lisp/custom.el
+3
-1
No files found.
lisp/custom.el
View file @
289e1999
...
...
@@ -518,7 +518,9 @@ LOAD should be either a library file name, or a feature name."
;; This test is also in the C code of `user-variable-p'.
(
defun
custom-variable-p
(
variable
)
"Return non-nil if VARIABLE is a custom variable."
"Return non-nil if VARIABLE is a custom variable.
This recursively follows aliases."
(
setq
variable
(
indirect-variable
variable
))
(
or
(
get
variable
'standard-value
)
(
get
variable
'custom-autoload
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment