# HG changeset patch # User Thien-Thi Nguyen # Date 1124113975 0 # Node ID e6581ac8240c6b82d99957033697250b95568c27 # Parent 293aca58a37e60169bf91a7b5de0204a1931959a (vhdl-emacs-21): Set t for Emacs 21, 22, and so on. diff -r 293aca58a37e -r e6581ac8240c lisp/progmodes/vhdl-mode.el --- a/lisp/progmodes/vhdl-mode.el Mon Aug 15 13:00:09 2005 +0000 +++ b/lisp/progmodes/vhdl-mode.el Mon Aug 15 13:52:55 2005 +0000 @@ -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.") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;