[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex c8c8677 54/57: Fix unescaped character literals
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex c8c8677 54/57: Fix unescaped character literals |
Date: |
Tue, 25 Jul 2017 14:02:36 -0400 (EDT) |
branch: externals/auctex
commit c8c8677540af4dba432bd582208da9ffc892f78b
Author: Stefan Monnier <address@hidden>
Commit: Tassilo Horn <address@hidden>
Fix unescaped character literals
* font-latex.el (font-latex-command-with-args-opt-arg-delims)
* tex-fold.el (TeX-fold-expand-spec): Escape [ and ] character literals
---
font-latex.el | 2 +-
tex-fold.el | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/font-latex.el b/font-latex.el
index e4f9713..96787f1 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1588,7 +1588,7 @@ XEmacs does not do this at the time of this writing."
Set this to nil if verification of command syntax is unwanted.")
(defvar font-latex-command-with-args-opt-arg-delims
- '((?[ . ?]) (?< . ?>) (?\( . ?\)))
+ '((?\[ . ?\]) (?< . ?>) (?\( . ?\)))
"List character pairs used as delimiters for optional arguments.")
(defvar font-latex-syntax-error-modes '(latex-mode)
diff --git a/tex-fold.el b/tex-fold.el
index cf4284e..6188147 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -1,6 +1,6 @@
;;; tex-fold.el --- Fold TeX macros.
-;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011-2012, 2014
+;; Copyright (C) 2004-2008, 2011-2012, 2014, 2017
;; Free Software Foundation, Inc.
;; Author: Ralf Angeli <address@hidden>
@@ -765,7 +765,7 @@ Return non-nil if a removal happened, nil otherwise."
"Expand instances of {<num>}, [<num>], <<num>>, and (<num>).
Replace them with the respective macro argument."
(let ((spec-list (split-string spec "||"))
- (delims '((?{ . ?}) (?[ . ?]) (?< . ?>) (?\( . ?\))))
+ (delims '((?\{ . ?\}) (?\[ . ?\]) (?< . ?>) (?\( . ?\))))
index success)
(catch 'success
;; Iterate over alternatives.
- [elpa] externals/auctex 8c172d5 51/57: ; make change-history-commit, (continued)
- [elpa] externals/auctex 8c172d5 51/57: ; make change-history-commit, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex fbbb17b 39/57: Update key=value options to graphicx package version 1.1a, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 97dca3f 52/57: ; Release_11.91, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex ab04c45 35/57: Correct actions on region file in included file not placed in master dir, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 64cf0e9 41/57: * latex.el (LaTeX-babel-hyphen-language-alist): Fix typo in docstring., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 829f306 46/57: * doc/auctex.texi (European): Add babel languages which load english.el., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex cf92c47 47/57: * doc/changes.texi: Mention changes related to Japanese TeX., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 06c8074 25/57: * tests/latex/fontification-general.tex: New file., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 2b46b60 49/57: Update key=val options to minted package v2.5, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 4f397a2 34/57: Imporve fix for Bug#26694, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex c8c8677 54/57: Fix unescaped character literals,
Tassilo Horn <=
- [elpa] externals/auctex 41f229d 48/57: Conform to elisp coding conventions., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex dd0dc19 42/57: Add new style/moodle.el, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 17118fb 50/57: Prepare for upcoming release, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex ba66331 56/57: Merge branch 'master' into externals/auctex, Tassilo Horn, 2017/07/25