[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex b13bebb 28/67: Remove compatibility code for old
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex b13bebb 28/67: Remove compatibility code for older emacsen |
Date: |
Fri, 8 Feb 2019 11:40:34 -0500 (EST) |
branch: externals/auctex
commit b13bebb2e565f88edffea9830056f86130973265
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Remove compatibility code for older emacsen
* font-latex.el (font-latex-after-hacking-local-variables): Remove
fallback code for case `file-local-variables-alist' isn't available.
---
font-latex.el | 29 ++++++++---------------------
1 file changed, 8 insertions(+), 21 deletions(-)
diff --git a/font-latex.el b/font-latex.el
index 3640083..6d07ba8 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1383,27 +1383,14 @@ modified. Such variables include
`LaTeX-verbatim-environments-local',
`LaTeX-verbatim-macros-with-braces-local',
`LaTeX-verbatim-macros-with-delims-local'."
- (when (if (boundp 'file-local-variables-alist)
- ;; In Emacs we know if the value came from file or directory
- ;; locals. Note to self: directory-local variables are also added
- ;; to file-local-variables-alist.
- (let ((hacked-local-vars (mapcar #'car file-local-variables-alist)))
- (or (memq 'LaTeX-verbatim-environments-local hacked-local-vars)
- (memq 'LaTeX-verbatim-macros-with-braces-local
hacked-local-vars)
- (memq 'LaTeX-verbatim-macros-with-delims-local
hacked-local-vars)))
- ;; In XEmacs and old Emacs versions we don't know if a buffer-local
- ;; variable has been set by a file-local variables block or somehow
- ;; else. So we trigger a refresh if any of those variables has a
- ;; non-nil local binding.
- (or (and LaTeX-verbatim-environments-local
- (local-variable-p LaTeX-verbatim-environments-local
- (current-buffer)))
- (and LaTeX-verbatim-macros-with-braces-local
- (local-variable-p LaTeX-verbatim-macros-with-braces-local
- (current-buffer)))
- (and LaTeX-verbatim-macros-with-delims-local
- (local-variable-p LaTeX-verbatim-macros-with-delims-local
- (current-buffer)))))
+ (when
+ ;; In Emacs we know if the value came from file or directory
+ ;; locals. Note to self: directory-local variables are also added
+ ;; to file-local-variables-alist.
+ (let ((hacked-local-vars (mapcar #'car file-local-variables-alist)))
+ (or (memq 'LaTeX-verbatim-environments-local hacked-local-vars)
+ (memq 'LaTeX-verbatim-macros-with-braces-local hacked-local-vars)
+ (memq 'LaTeX-verbatim-macros-with-delims-local hacked-local-vars)))
;; Ok, we need to refresh fontification.
(font-latex-update-font-lock t)))
- [elpa] externals/auctex 32bc548 12/67: ; Fix typos and doc string, (continued)
- [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, 2019/02/08
- [elpa] externals/auctex b13bebb 28/67: Remove compatibility code for older emacsen,
Tassilo Horn <=
- [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
- [elpa] externals/auctex 4fed4a7 64/67: Remove combatibility code for older emasen, Tassilo Horn, 2019/02/08