diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-09-22 00:57:22 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-09-22 01:01:36 +0200 |
commit | e1290f471314c2d9cce9c74429a31303edf88b3f (patch) | |
tree | 1f602eb1605dbccf81ba476d04dbdbb75decf0c9 /lisp/progmodes/antlr-mode.el | |
parent | 9a3a2a00dac62609ff32caa9c3dbe8c97f4918ef (diff) | |
download | emacs-e1290f471314c2d9cce9c74429a31303edf88b3f.tar.gz |
Remove some Emacs 20 compat code
* lisp/apropos.el (apropos-local-value):
* lisp/progmodes/antlr-mode.el (antlr-mode-menu):
* lisp/progmodes/idlwave.el (idlwave-attach-classes):
* lisp/textmodes/artist.el (artist-replace-chars): Remove Emacs 20
compat code.
Diffstat (limited to 'lisp/progmodes/antlr-mode.el')
-rw-r--r-- | lisp/progmodes/antlr-mode.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index 24e1f8831a0..29adf3b1901 100644 --- a/lisp/progmodes/antlr-mode.el +++ b/lisp/progmodes/antlr-mode.el @@ -720,9 +720,8 @@ imenu." "Major mode menu." `("Antlr" ,@(if (cond-emacs-xemacs - :EMACS (and antlr-options-use-submenus - (>= emacs-major-version 21)) - :XEMACS antlr-options-use-submenus) + :EMACS antlr-options-use-submenus + :XEMACS antlr-options-use-submenus) `(("Insert File Option" :filter ,(lambda (x) (antlr-options-menu-filter 1 x))) ("Insert Grammar Option" |