branch: externals/auctex
commit 1bc721b8cbd8145823374bd70ec8803fc99bd368
Author: Tassilo Horn <t...@gnu.org>
Commit: Tassilo Horn <t...@gnu.org>

    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  <t...@gnu.org>
+
+       * tex.el (TeX-source-correlate-handle-TeX-region): Fix
+       void-variable error.
+
 2015-02-07  Tassilo Horn  <t...@gnu.org>
 
        * 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