auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. ba43eedcf74279f367c6e


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. ba43eedcf74279f367c6e50037bd7bde70058951
Date: Sun, 24 Aug 2014 17:16:09 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  ba43eedcf74279f367c6e50037bd7bde70058951 (commit)
      from  8570248c48ca9c42fa1b60bb821089cc5967ca6d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ba43eedcf74279f367c6e50037bd7bde70058951
Author: Florent Rougon <address@hidden>
Date:   Sun Aug 24 19:13:16 2014 +0200

    Fix the expansion of %' in TeX-expand-list.
    
    * tex.el (TeX-expand-list): Add the previous position to the
    lenght of the expanded string to get the current position in the
    %' expander.
    
    Signed-off-by: Mosè Giordano <address@hidden>

diff --git a/ChangeLog b/ChangeLog
index ef147f7..09fff22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-08-24  Florent Rougon  <address@hidden>  (tiny change)
+
+       * tex.el (TeX-expand-list): Add the previous position to the
+       lenght of the expanded string to get the current position in the
+       %' expander.
+
 2014-08-18  Vincent Belaïche  <address@hidden>
 
        * font-latex.el (font-latex-add-quotes): Code optimization: use
diff --git a/tex.el b/tex.el
index e5378aa..cf56f90 100644
--- a/tex.el
+++ b/tex.el
@@ -507,7 +507,7 @@ string."
            (prog1
                (if (stringp TeX-command-text)
                    (progn
-                     (setq pos (+ (length TeX-command-text) 9)
+                     (setq pos (+ pos (length TeX-command-text) 9)
                            TeX-command-pos
                            (and (string-match " "
                                               (funcall file t t))

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    6 ++++++
 tex.el    |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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