# HG changeset patch # User Glenn Morris # Date 1112547358 0 # Node ID e7c23f9a917c7155818126eb607ea397776e7c26 # Parent 7d97c1ec9f2340f862772063b54907fb2a783e64 (filesets-set-default): Doc fix. diff -r 7d97c1ec9f23 -r e7c23f9a917c lisp/filesets.el --- a/lisp/filesets.el Sun Apr 03 14:02:32 2005 +0000 +++ b/lisp/filesets.el Sun Apr 03 16:55:58 2005 +0000 @@ -250,8 +250,15 @@ ; (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