Index: emacs/lisp/custom.el
diff -c emacs/lisp/custom.el:1.84 emacs/lisp/custom.el:1.85
*** emacs/lisp/custom.el:1.84   Sat Jul  2 22:52:27 2005
--- emacs/lisp/custom.el        Sun Jul  3 16:09:07 2005
***************
*** 486,493 ****
  (defun custom-add-option (symbol option)
    "To the variable SYMBOL add OPTION.
  
! If SYMBOL is a hook variable, OPTION should be a hook member.
! For other types variables, the effect is undefined."
    (let ((options (get symbol 'custom-options)))
      (unless (member option options)
        (put symbol 'custom-options (cons option options)))))
--- 486,495 ----
  (defun custom-add-option (symbol option)
    "To the variable SYMBOL add OPTION.
  
! If SYMBOL's custom type is a hook, OPTION should be a hook member.
! If SYMBOL's custom type is an alist, OPTION specifies a symbol
! to offer to the user as a possible key in the alist.
! For other custom types, this has no effect."
    (let ((options (get symbol 'custom-options)))
      (unless (member option options)
        (put symbol 'custom-options (cons option options)))))


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

Reply via email to