]> git.eshelyaron.com Git - emacs.git/commitdiff
(sc-emacs-features): Test for "Emacs 19"
authorRichard M. Stallman <rms@gnu.org>
Sun, 28 Oct 2001 14:20:39 +0000 (14:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 28 Oct 2001 14:20:39 +0000 (14:20 +0000)
by really checking that it is not version 18.

lisp/ChangeLog
lisp/mail/supercite.el

index 10451ae119c448be6269fbdd7b29d69da982b31e..4c5ad596eff32ff26839798dffd8d563260b7341 100644 (file)
@@ -1,5 +1,11 @@
 2001-10-28  Richard M. Stallman  <rms@gnu.org>
 
+       * textmodes/ispell.el (version18p, version20p): Vars deleted.
+       All uses removed--assume Emacs version is >= 20.
+
+       * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
+       by really checking that it is not version 18.
+
        * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
 
 2001-10-28  Miles Bader  <miles@gnu.org>
index dd5ce02946fa97e7c4449d6cc66a38aa246b4d86..db4a492de1d95d2a7c183b458fe6eda0141fd2a6 100644 (file)
@@ -513,9 +513,8 @@ string."
 (defconst sc-emacs-features
   (let ((version 'v18)
        (flavor  'GNU))
-    (if (or
-        (string= (substring emacs-version 0 2) "19")
-        (string= (substring emacs-version 0 2) "20"))
+    (if (not
+        (string= (substring emacs-version 0 2) "18"))
        (setq version 'v19))
     (if (string-match "Lucid" emacs-version)
        (setq flavor 'Lucid))
@@ -524,9 +523,9 @@ string."
   "A list describing what version of Emacs we're running on.
 Known flavors are:
 
-Emacs 18        : (v18 GNU)
-Emacs 19 or 20  : (v19 GNU)
-Lucid 19 or 20  : (v19 Lucid)")
+Emacs 18           : (v18 GNU)
+Emacs 19 or later  : (v19 GNU)
+Lucid 19 or later  : (v19 Lucid)")
 
 
 (defvar sc-tmp-nested-regexp nil