summaryrefslogtreecommitdiff
path: root/lisp/progmodes/antlr-mode.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-09-22 00:57:22 +0200
committerStefan Kangas <stefan@marxist.se>2020-09-22 01:01:36 +0200
commite1290f471314c2d9cce9c74429a31303edf88b3f (patch)
tree1f602eb1605dbccf81ba476d04dbdbb75decf0c9 /lisp/progmodes/antlr-mode.el
parent9a3a2a00dac62609ff32caa9c3dbe8c97f4918ef (diff)
downloademacs-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.el5
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"