summaryrefslogtreecommitdiff
path: root/lisp/filesets.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2005-04-03 16:55:58 +0000
committerGlenn Morris <rgm@gnu.org>2005-04-03 16:55:58 +0000
commited8c6a24c2042ad5879f19945d142e7b459ddb04 (patch)
tree5050123f7aa1b35890ec745cd25d2c67a1d157eb /lisp/filesets.el
parent07e5fb9ebd4d44a87eb557f9526c6d817387928a (diff)
downloademacs-ed8c6a24c2042ad5879f19945d142e7b459ddb04.tar.gz
(filesets-set-default): Doc fix.
Diffstat (limited to 'lisp/filesets.el')
-rw-r--r--lisp/filesets.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/filesets.el b/lisp/filesets.el
index 13ddfa5a84d..5a4dd7bda9a 100644
--- a/lisp/filesets.el
+++ b/lisp/filesets.el
@@ -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