branch: externals/auctex
commit fd53670de669d55bdb1e3d574427b8ba2a77f605
Author: Ikumi Keita <[email protected]>
Commit: Ikumi Keita <[email protected]>
Clean up remnants of previous removal of compatibility codes
* tex.el (TeX-mode-specific-command-menu): Delete irrelevant comment.
* latex.el (LaTeX-indent-line): Clear out unused lines.
---
latex.el | 6 +-----
tex.el | 1 -
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/latex.el b/latex.el
index a7be8de..ec36e0b 100644
--- a/latex.el
+++ b/latex.el
@@ -3265,8 +3265,7 @@ Lines starting with an item is given an extra indentation
of
(beginning-of-line)
(looking-at
(concat "\\([ \t]*" TeX-comment-start-regexp "+\\)+"))
- (concat (match-string 0) (TeX-comment-padding-string)))))
- ol-specs)
+ (concat (match-string 0) (TeX-comment-padding-string))))))
(save-excursion
(cond ((and fill-prefix
(TeX-in-line-comment)
@@ -3294,9 +3293,6 @@ Lines starting with an item is given an extra indentation
of
(let ((outer-indent (LaTeX-indent-calculate 'outer)))
(when (/= (LaTeX-current-indentation 'outer) outer-indent)
(LaTeX-indent-outer-do outer-indent))))))
- ;; Make the overlays invisible again.
- (dolist (ol-spec ol-specs)
- (set-extent-property (car ol-spec) 'invisible (cadr ol-spec)))
(when (< (current-column) (save-excursion
(LaTeX-back-to-indentation) (current-column)))
(LaTeX-back-to-indentation))))
diff --git a/tex.el b/tex.el
index 4bf2f79..ec86213 100644
--- a/tex.el
+++ b/tex.el
@@ -5020,7 +5020,6 @@ Brace insertion is only done if point is in a math
construct and
(defun TeX-mode-specific-command-menu (mode)
"Return a Command menu specific to the major MODE."
- ;; COMPATIBILITY for Emacs < 21
(list TeX-command-menu-name
:filter `(lambda (&rest ignored)
(TeX-mode-specific-command-menu-entries ',mode))