emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] elpa 4f9666b 24/51: Use customize option `TeX-region' instead of


From: Tassilo Horn
Subject: [elpa] elpa 4f9666b 24/51: Use customize option `TeX-region' instead of "_region_"
Date: Sun, 22 May 2016 07:22:49 +0000 (UTC)

branch: elpa
commit 4f9666b59249c49412cc51a4491440d85d24127e
Author: Ikumi Keita <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Use customize option `TeX-region' instead of "_region_"
    
    * tex-buf.el (TeX-output-revert-buffer): Use customize option
    `TeX-region' instead of string literal "_region_".
    
    Signed-off-by: Mosè Giordano <address@hidden>
---
 tex-buf.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex-buf.el b/tex-buf.el
index a132222..c9cda7d 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -3677,7 +3677,7 @@ forward, if negative)."
       (let ((name (match-string 1))
             (file (match-string 2)))
         (with-current-buffer TeX-command-buffer
-          (TeX-command name (if (string-match "_region_" file)
+          (TeX-command name (if (string-match TeX-region file)
                                 #'TeX-region-file
                               #'TeX-master-file))))
     (error "Unable to find what command to run")))



reply via email to

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