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

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

[elpa] externals/auctex 1bc721b 07/35: Fix error introduced in previous


From: Tassilo Horn
Subject: [elpa] externals/auctex 1bc721b 07/35: Fix error introduced in previous commit
Date: Sun, 22 Mar 2015 09:26:57 +0000

branch: externals/auctex
commit 1bc721b8cbd8145823374bd70ec8803fc99bd368
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>

    Fix error introduced in previous commit
    
    * tex.el (TeX-source-correlate-handle-TeX-region): Fix
    void-variable error.
---
 ChangeLog |    5 +++++
 tex.el    |    5 ++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a02e9b1..375acc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-08  Tassilo Horn  <address@hidden>
+
+       * tex.el (TeX-source-correlate-handle-TeX-region): Fix
+       void-variable error.
+
 2015-02-07  Tassilo Horn  <address@hidden>
 
        * tex.el (TeX-pdf-tools-sync-view)
diff --git a/tex.el b/tex.el
index b29ee9b..a038ccf 100644
--- a/tex.el
+++ b/tex.el
@@ -1631,9 +1631,8 @@ file and LINE to (+ LINE offset-of-region).  Else, return 
nil."
       (when (re-search-forward "!offset(\\([[:digit:]]+\\))" nil t)
        (let ((offset (string-to-int (match-string-no-properties 1))))
          (when TeX-region-orig-buffer
-           (apply #'list
-                  (expand-file-name (buffer-file-name TeX-region-orig-buffer))
-                  (+ line offset) col more)))))))
+           (list (expand-file-name (buffer-file-name TeX-region-orig-buffer))
+                 (+ line offset) col)))))))
 
 (defun TeX-source-correlate-sync-source (file linecol &rest ignored)
   "Show TeX FILE with point at LINECOL.



reply via email to

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