+2002-05-08 Markus Rost <rost@math.ohio-state.edu>
+
+ * filesets.el (filesets-conditional-sort): Use copy-sequence, not
+ copy-list.
+ (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
+ Defvar them to nil if running in Emacs.
+
2002-05-08 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
* textmodes/flyspell.el (make-flyspell-overlay): Add help text
:type 'sexp
:group 'filesets)
-(when filesets-running-xemacs
- (defcustom filesets-menu-path nil
- "*The menu under which the filesets menu should be inserted.
+(if
+ (progn
+ (defcustom filesets-menu-path nil
+ "*The menu under which the filesets menu should be inserted.
XEmacs specific; see `add-submenu' for documentation."
- :set (function filesets-set-default)
- :type 'sexp
- :group 'filesets)
+ :set (function filesets-set-default)
+ :type 'sexp
+ :group 'filesets)
- (defcustom filesets-menu-before "File"
- "*The name of a menu before which this menu should be added.
+ (defcustom filesets-menu-before "File"
+ "*The name of a menu before which this menu should be added.
XEmacs specific; see `add-submenu' for documentation."
- :set (function filesets-set-default)
- :type 'sexp
- :group 'filesets)
+ :set (function filesets-set-default)
+ :type 'sexp
+ :group 'filesets)
- (defcustom filesets-menu-in-menu nil
- "*Use that instead of `current-menubar' as the menu to change.
+ (defcustom filesets-menu-in-menu nil
+ "*Use that instead of `current-menubar' as the menu to change.
XEmacs specific; see `add-submenu' for documentation."
- :set (function filesets-set-default)
- :type 'sexp
- :group 'filesets))
+ :set (function filesets-set-default)
+ :type 'sexp
+ :group 'filesets))
+ (defvar filesets-menu-path nil)
+ (defvar filesets-menu-before nil)
+ (defvar filesets-menu-in-menu nil))
(defcustom filesets-menu-shortcuts-flag t
"*Non-nil means to prepend menus with hopefully unique shortcuts."
(lambda (a b)
(string< (upcase (funcall fni a))
(upcase (funcall fni b)))))))
- (sort (copy-list lst) fn))
+ (sort (copy-sequence lst) fn))
lst))
(defun filesets-directory-files (dir &optional