[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex b0bf9ea 43/95: Partially revert previous commit,
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex b0bf9ea 43/95: Partially revert previous commit, will look better later |
Date: |
Sun, 16 Apr 2017 01:26:52 -0400 (EDT) |
branch: externals/auctex
commit b0bf9ea57ffd6271e2c3116e3e91609bfe602bd1
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Partially revert previous commit, will look better later
* tex-buf.el (TeX-command-expand): Do not error if `string' is nil. This
made
"View" command unusable.
---
tests/tex/command-expansion.el | 5 -----
tex-buf.el | 6 +-----
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/tests/tex/command-expansion.el b/tests/tex/command-expansion.el
index 17759d1..91b3235 100644
--- a/tests/tex/command-expansion.el
+++ b/tests/tex/command-expansion.el
@@ -36,11 +36,6 @@
(ert-deftest TeX-command-expansion-errors ()
"Test error handling in `TeX-command-expand'."
(should-error
- ;; This should prevent an infinite loop.
- (let ((TeX-expand-list '(("%(nil)" "nil"))))
- (TeX-command-expand "%(nil)"
- 'TeX-master-file)))
- (should-error
;; This error is actually thrown by `TeX-engine-in-engine-alist', but we
want
;; to be sure that `TeX-command-expand' fails when the engine is not valid.
(let ((TeX-engine 'non-existing-engine))
diff --git a/tex-buf.el b/tex-buf.el
index b893706..6497777 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -585,11 +585,7 @@ without further expansion."
(error "Nonexpansion %s" expansion)))))
(if (stringp string)
(setq command
- (replace-match string t t command))
- ;; If `string' is not a string, `command' will not be updated and
- ;; `while' would enter an infinite loop. Prevent it by throwing an
- ;; error.
- (error "Nonexpansion %s" expansion))))
+ (replace-match string t t command)))))
command)
(defun TeX-check-files (derived originals extensions)
- [elpa] externals/auctex c21aff6 31/95: ; Add `LaTeX-equation-label' as symbol to `LaTeX-label-alist', (continued)
- [elpa] externals/auctex c21aff6 31/95: ; Add `LaTeX-equation-label' as symbol to `LaTeX-label-alist', Tassilo Horn, 2017/04/16
- [elpa] externals/auctex c0f3659 21/95: Fix TeX-view-predicate-list-builtin predicates wrt class opts, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 6c91dba 20/95: Fix number of arguments of local-variable-p in XEmacs, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex e18e46e 32/95: * latex.el (LaTeX-label): Eliminate premature returning of label., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex f12dbb2 27/95: Improve parsing process in style/xcolor.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 85c4656 12/95: Add function to put labels in opt. argument of environments, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex c112a9e 34/95: ; * style/empheq.el (LaTeX-empheq-item-equation): Delete unnecessary *., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex f708e1b 29/95: Add new style/preview.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex a1091b8 35/95: Improve determination of master file with subfiles class, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 4321dcc 41/95: Tweak locale treatment on xemacs., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex b0bf9ea 43/95: Partially revert previous commit, will look better later,
Tassilo Horn <=
- [elpa] externals/auctex 1d7c229 38/95: Make papersize predicate in tex-jp.el to work again., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex a49aaa4 44/95: Fix font-latex-make-match-defun to generate intended code., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 664186d 52/95: ; Add fix related with coding system missing in my commit on Feb 14., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 7c48c19 49/95: * tex-ispell.el (TeX-ispell-skip-cmds-list): Add hyperref macros., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 4054384 25/95: Fix parsing bug in style/xcolor.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex b4f304b 36/95: Improve regexp for looking for documentclass macro, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 9876030 23/95: Fix minor problems, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 586cbd8 28/95: * .gitignore: Ignore only preview.el in top directory., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex cf43d7d 53/95: ; Add some full stops at the end of sentences of the manual, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex de5e40b 37/95: Fix setting of coding system for Japanese TeX, Tassilo Horn, 2017/04/16