[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] [elpa] externals/auctex dabe30c 02/62: Arrange test condi

From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex dabe30c 02/62: Arrange test condition
Date: Sun, 20 Dec 2020 10:39:49 -0500 (EST)

branch: externals/auctex
commit dabe30c9a957c9c0f9ca7aa309f1d370401fa91b
Author: Ikumi Keita <>
Commit: Tassilo Horn <>

    Arrange test condition
    * latex.el (LaTeX-env-args): Just test nil or not since
    `TeX-exit-mark' is now always bound.
 latex.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/latex.el b/latex.el
index 2dc00ba..f74c76d 100644
--- a/latex.el
+++ b/latex.el
@@ -1316,9 +1316,8 @@ Just like array and tabular."
-    (let ((TeX-exit-mark (if (boundp 'TeX-exit-mark)
-                            TeX-exit-mark
-                          (make-marker))))
+    (let ((TeX-exit-mark (or TeX-exit-mark
+                            (make-marker))))
       (TeX-parse-arguments args))))
 (defun LaTeX-env-label-as-keyval (_optional &optional keyword keyvals 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]