Index: emacs/lisp/custom.el
diff -c emacs/lisp/custom.el:1.86 emacs/lisp/custom.el:1.87
*** emacs/lisp/custom.el:1.86   Mon Jul  4 23:08:52 2005
--- emacs/lisp/custom.el        Thu Jul  7 23:12:43 2005
***************
*** 518,524 ****
  
  ;; 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."
    (or (get variable 'standard-value)
        (get variable 'custom-autoload)))
  
--- 518,526 ----
  
  ;; 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.
! This recursively follows aliases."
!   (setq variable (indirect-variable variable))
    (or (get variable 'standard-value)
        (get variable 'custom-autoload)))
  


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to