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/apropos.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/apropos.el')
-rw-r--r-- | lisp/apropos.el | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el index 6d8c7847b02..e7e8955afe8 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -863,14 +863,12 @@ Optional arg BUFFER (default: current buffer) is the buffer to check." (setq apropos-accumulator (cons (list symb (apropos-score-str var) nil var) apropos-accumulator)))))) (let ((apropos-multi-type nil)) - (if (> emacs-major-version 20) - (apropos-print - nil "\n----------------\n" - (format "Buffer `%s' has the following local variables\nmatching %s`%s':" - (buffer-name buffer) - (if (consp pattern) "keywords " "") - pattern)) - (apropos-print nil "\n----------------\n")))) + (apropos-print + nil "\n----------------\n" + (format "Buffer `%s' has the following local variables\nmatching %s`%s':" + (buffer-name buffer) + (if (consp pattern) "keywords " "") + pattern)))) ;;;###autoload (defun apropos-documentation (pattern &optional do-all) |