changeset 62888:df1894ffb13c

(filesets-menu-ensure-use-cached): Prevent warning when emacs-version>= is undefined.
author Richard M. Stallman <rms@gnu.org>
date Mon, 30 May 2005 06:51:10 +0000
parents 3d8c6d031cf0
children 9282bd25c87b
files lisp/filesets.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/filesets.el	Mon May 30 06:50:35 2005 +0000
+++ b/lisp/filesets.el	Mon May 30 06:51:10 2005 +0000
@@ -132,7 +132,8 @@
 
 (defvar filesets-menu-ensure-use-cached
   (and filesets-running-xemacs
-       (not (emacs-version>= 21 5)))
+       (if (fboundp 'emacs-version>=)
+	   (not (emacs-version>= 21 5))))
   "Make sure (X)Emacs uses filesets' cache.
 
 Well, if you use XEmacs (prior to 21.5?) custom.el is loaded after