/[emacs]/emacs/lisp/custom.el
ViewVC logotype

Diff of /emacs/lisp/custom.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.86 by lute, Mon Jul 4 23:08:52 2005 UTC revision 1.87 by teirllm, Thu Jul 7 23:12:43 2005 UTC
# Line 518  LOAD should be either a library file nam Line 518  LOAD should be either a library file nam
518    
519  ;; This test is also in the C code of `user-variable-p'.  ;; This test is also in the C code of `user-variable-p'.
520  (defun custom-variable-p (variable)  (defun custom-variable-p (variable)
521    "Return non-nil if VARIABLE is a custom variable."    "Return non-nil if VARIABLE is a custom variable.
522    This recursively follows aliases."
523      (setq variable (indirect-variable variable))
524    (or (get variable 'standard-value)    (or (get variable 'standard-value)
525        (get variable 'custom-autoload)))        (get variable 'custom-autoload)))
526    

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26