diff lisp/hyperbole/hversion.el @ 78:c7528f8e288d r20-0b34

Import from CVS: tag r20-0b34
author cvs
date Mon, 13 Aug 2007 09:05:42 +0200
parents 131b0175ea99
children 4be1180a9e89
line wrap: on
line diff
--- a/lisp/hyperbole/hversion.el	Mon Aug 13 09:05:11 2007 +0200
+++ b/lisp/hyperbole/hversion.el	Mon Aug 13 09:05:42 2007 +0200
@@ -64,7 +64,9 @@
 (defconst hyperb:kotl-p
   (if hyperb:lemacs-p
       ;; Only works for XEmacs 19.9 and above.
-      (string-match "^19\\.9 \\|^19\\.[1-9][0-9]" emacs-version)
+      (or (string-match "^19\\.9 \\|^19\\.[1-9][0-9]" emacs-version)
+	  ;; Version 20 and above.
+	  (string-lessp "20" emacs-version))
     hyperb:emacs19-p)
   "Non-nil iff this Emacs version supports the Hyperbole outliner.")