(vhdl-emacs-21): Set t for Emacs 21, 22, and so on.

This commit is contained in:
Thien-Thi Nguyen 2005-08-15 13:54:33 +00:00
parent 0cfce69f6e
commit 9e5538bc21
2 changed files with 10 additions and 5 deletions

View 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.

View file

@ -66,13 +66,13 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 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
@ -124,9 +124,9 @@
;; 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.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;