summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ebnf2ps.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2020-05-16 17:48:36 +0200
committerStefan Kangas <stefankangas@gmail.com>2020-05-16 17:48:36 +0200
commita67415a71a1be5419547ac5e2abe51bc6bb37f1d (patch)
treed71d672be2267167b5579801ce0f7a99564b1d25 /lisp/progmodes/ebnf2ps.el
parent7f690a4bf1fff44db67916f8f374dc87ecdc52a6 (diff)
downloademacs-a67415a71a1be5419547ac5e2abe51bc6bb37f1d.tar.gz
emacs-a67415a71a1be5419547ac5e2abe51bc6bb37f1d.tar.bz2
emacs-a67415a71a1be5419547ac5e2abe51bc6bb37f1d.zip
Remove stale comments
* lisp/printing.el (pr-create-interface): * lisp/progmodes/ebnf2ps.el (ebnf-eps-filename, ebnf-trim-right): Remove old comments about Emacs 21/22 compatibility.
Diffstat (limited to 'lisp/progmodes/ebnf2ps.el')
-rw-r--r--lisp/progmodes/ebnf2ps.el4
1 files changed, 0 insertions, 4 deletions
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el
index 28e7667cda1..08cf802bcbe 100644
--- a/lisp/progmodes/ebnf2ps.el
+++ b/lisp/progmodes/ebnf2ps.el
@@ -4975,8 +4975,6 @@ killed after process termination."
(defun ebnf-eps-filename (str)
(let* ((len (length str))
(stri 0)
- ;; to keep compatibility with Emacs 20 & 21:
- ;; DO NOT REPLACE `?\ ' BY `?\s'
(new (make-string len ?\ )))
(while (< stri len)
(aset new stri (aref ebnf-map-name (aref str stri)))
@@ -5993,8 +5991,6 @@ killed after process termination."
(defun ebnf-trim-right (str)
(let* ((len (1- (length str)))
(index len))
- ;; to keep compatibility with Emacs 20 & 21:
- ;; DO NOT REPLACE `?\ ' BY `?\s'
(while (and (> index 0) (= (aref str index) ?\ ))
(setq index (1- index)))
(if (= index len)