[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 4617caa 26/67: Remove compatibility code for old
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 4617caa 26/67: Remove compatibility code for older emacsen |
Date: |
Fri, 8 Feb 2019 11:40:33 -0500 (EST) |
branch: externals/auctex
commit 4617caac744644d8536c2f2ed1c4e028ab943d3b
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Remove compatibility code for older emacsen
* latex.el (LaTeX-fill-region-as-para-do): Drop fallback for case
`fill-delete-prefix' isn't available.
---
latex.el | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/latex.el b/latex.el
index 2b4749b..0165242 100644
--- a/latex.el
+++ b/latex.el
@@ -3776,21 +3776,8 @@ space does not end a sentence, so don't break a line
there."
(remove-text-properties from to '(hard nil)))
;; Make sure first line is indented (at least) to left margin...
(indent-according-to-mode)
- ;; COMPATIBILITY for Emacs <= 21.1
- (if (fboundp 'fill-delete-prefix)
- ;; Delete the fill-prefix from every line.
- (fill-delete-prefix from to fill-prefix)
- ;; Delete the comment prefix and any whitespace from every
- ;; line of the region in concern except the first. (The
- ;; implementation is heuristic to a certain degree.)
- (save-excursion
- (goto-char from)
- (forward-line 1)
- (when (< (point) to)
- (while (re-search-forward (concat "^[ \t]+\\|^[ \t]*"
- TeX-comment-start-regexp
- "+[ \t]*") to t)
- (delete-region (match-beginning 0) (match-end 0))))))
+ ;; Delete the fill-prefix from every line.
+ (fill-delete-prefix from to fill-prefix)
(setq from (point))
- [elpa] externals/auctex 866eae1 20/67: Remove references to XEmacs from the manual, (continued)
- [elpa] externals/auctex 866eae1 20/67: Remove references to XEmacs from the manual, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 32bc548 12/67: ; Fix typos and doc string, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 70a31c5 23/67: Remove compatibility codes for older emacsen, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 12f7a21 18/67: Add suggestions for non-privileged installation, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 8b5e53d 24/67: Remove unnecessary parentheses, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 667f4e9 17/67: Defer running style hook until options are given actually, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 48d5874 32/67: Use `write-file-functions', Tassilo Horn, 2019/02/08
- [elpa] externals/auctex a20430d 15/67: Add new style/dashundergaps.el, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex ff75757 21/67: Remove references to older emacsens in comments and doc strings, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 253e900 25/67: Adjust autoload cookie, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 4617caa 26/67: Remove compatibility code for older emacsen,
Tassilo Horn <=
- [elpa] externals/auctex b13bebb 28/67: Remove compatibility code for older emacsen, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 7030681 29/67: * tex-buf.el (TeX-special-mode): Use `define-derived-mode'., Tassilo Horn, 2019/02/08
- [elpa] externals/auctex d2b0547 16/67: Fix not to run wrong style hooks, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 0a05b39 22/67: Use `declare-function' without `fboundp' test, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 6610f48 42/67: ; Silence the compiler in styles for `font-latex-add-to-syntax-alist', Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 5551227 30/67: Remove XEmacs compatibility code in tex-bar.el, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 993326c 40/67: ; Silence the compiler in styles for `font-latex-syntactic-keywords-extra', Tassilo Horn, 2019/02/08
- [elpa] externals/auctex a4576a1 49/67: ; * tex.el (TeX-math-toggle-off-input-method): Fix doc string., Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 9c42b43 52/67: Use ASCII apostrophe in code expample, Tassilo Horn, 2019/02/08
- [elpa] externals/auctex 49c71f9 44/67: ; Silence the compiler in styles for `LaTeX-x?color-definecolor-list', Tassilo Horn, 2019/02/08