]> git.eshelyaron.com Git - emacs.git/commitdiff
(vhdl-emacs-21): Set t for Emacs 21, 22, and so on.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Mon, 15 Aug 2005 13:54:33 +0000 (13:54 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Mon, 15 Aug 2005 13:54:33 +0000 (13:54 +0000)
lisp/ChangeLog
lisp/progmodes/vhdl-mode.el

index 5f11a65dc409baa3f03b9dfcb1b258460bdf2a5a..221ea1e6b3efc53cc3aac25b8ba2467d0d973969 100644 (file)
@@ -1,3 +1,8 @@
+2005-08-15  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * progmodes/vhdl-mode.el (vhdl-emacs-21):
+       Set t for Emacs 21, 22, and so on.
+
 2005-08-15  David Ponce  <david@dponce.com>
 
        * tree-widget.el Update Commentary header.
index de5f3ebabd7dc6ac634d8a6dde388694b179eb9b..75f2bb56aa4247d41faafaaa0842279c3f79b0f8 100644 (file)
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Emacs Versions
 
-;; supported: GNU Emacs 20.X/21.X, XEmacs 20.X/21.X
+;; supported: GNU Emacs 20.X/21.X/22.X, XEmacs 20.X/21.X
 ;; tested on: GNU Emacs 20.4, XEmacs 21.1 (marginally)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Installation
 
-;; Prerequisites:  GNU Emacs 20.X/21.X, XEmacs 20.X/21.X.
+;; Prerequisites:  GNU Emacs 20.X/21.X/22.X, XEmacs 20.X/21.X.
 
 ;; Put `vhdl-mode.el' into the `site-lisp' directory of your Emacs installation
 ;; or into an arbitrary directory that is added to the load path by the
 ;; XEmacs handling
 (defconst vhdl-xemacs (string-match "XEmacs" emacs-version)
   "Non-nil if XEmacs is used.")
-;; Emacs 21 handling
-(defconst vhdl-emacs-21 (and (= emacs-major-version 21) (not vhdl-xemacs))
-  "Non-nil if Emacs 21 is used.")
+;; Emacs 21+ handling
+(defconst vhdl-emacs-21 (and (<= 21 emacs-major-version) (not vhdl-xemacs))
+  "Non-nil if Emacs 21, 22, ... is used.")
 
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;