]> code.delx.au - gnu-emacs/commitdiff
(filesets-set-default): Doc fix.
authorGlenn Morris <rgm@gnu.org>
Sun, 3 Apr 2005 16:55:58 +0000 (16:55 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 3 Apr 2005 16:55:58 +0000 (16:55 +0000)
lisp/filesets.el

index 13ddfa5a84db7ab69c572810f560649e745a90ef..5a4dd7bda9ac27be1a5526210764aff2051eafe9 100644 (file)
@@ -250,8 +250,15 @@ key is supported."
 ;  (customize-set-variable var val))
 ;  (filesets-build-menu))
 
+;; It seems this is a workaround for the XEmacs issue described in the
+;; doc-string of filesets-menu-ensure-use-cached. Under Emacs this is
+;; essentially just `set-default'.
 (defun filesets-set-default (sym val &optional init-flag)
-  "Set-default wrapper function used in conjunction with `defcustom'."
+  "Set-default wrapper function used in conjunction with `defcustom'.
+If SYM is in the list `filesets-ignore-next-set-default', delete
+it from that list, and return nil.  Otherwise, set the value of
+SYM to VAL and return t.  If INIT-FLAG is non-nil, set with
+`custom-initialize-set', otherwise with `set-default'."
   (let ((ignore-flag (member sym filesets-ignore-next-set-default)))
     (if ignore-flag
        (setq filesets-ignore-next-set-default