,@body))
(defmacro cw/for-emacs-21 (&rest body)
+ `(when (and (= emacs-major-version 21)
+ (not (string-match "Lucid" emacs-version)))
+ ,@body))
+
+(defmacro cw/for-emacs-21-and-later (&rest body)
`(when (and (>= emacs-major-version 21)
(not (string-match "Lucid" emacs-version)))
,@body))
+(defmacro cw/for-emacs-22 (&rest body)
+ `(when (and (= emacs-major-version 22)
+ (not (string-match "Lucid" emacs-version)))
+ ,@body))
+
(defmacro cw/for-emacs (&rest body)
`(when (not (string-match "Lucid" emacs-version))
,@body))