[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex cc9c060 05/35: Fix compatibility with Emacs < 24
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex cc9c060 05/35: Fix compatibility with Emacs < 24. |
Date: |
Sun, 22 Mar 2015 09:26:56 +0000 |
branch: externals/auctex
commit cc9c060a47f014dbada65e3c90ab74c2a234251d
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Fix compatibility with Emacs < 24.
* tex.el (TeX-source-correlate-handle-TeX-region): Replace
`file-name-base', introduced in GNU Emacs 24, with
`file-name-sans-extension'+`file-name-nondirectory'.
---
ChangeLog | 6 ++++++
tex.el | 3 ++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c641f53..0213b41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-06 Mos� Giordano <address@hidden>
+
+ * tex.el (TeX-source-correlate-handle-TeX-region): Replace
+ `file-name-base', introduced in GNU Emacs 24, with
+ `file-name-sans-extension'+`file-name-nondirectory'.
+
2015-02-06 Tassilo Horn <address@hidden>
* tex.el (TeX-source-correlate-handle-TeX-region): New function.
diff --git a/tex.el b/tex.el
index 2a00d5b..a59d16a 100644
--- a/tex.el
+++ b/tex.el
@@ -1621,7 +1621,8 @@ You could use this for unusual mouse bindings.")
That is, if FILE is `TeX-region', update FILE to the real tex
file and LINE to (+ LINE offset-of-region). Else, return the
list of arguments unchanged."
- (if (string-equal TeX-region (file-name-base file))
+ (if (string-equal TeX-region (file-name-sans-extension
+ (file-name-nondirectory file)))
(with-current-buffer (or (find-buffer-visiting file)
(find-file-noselect file))
(goto-char 0)
- [elpa] externals/auctex updated (8c89edf -> 6620d8c), Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 4b2587d 01/35: Add new style currvita.el., Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 061d8cd 02/35: New tcolorbox style, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 5276f35 03/35: Add PDF Tools support, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex cc9c060 05/35: Fix compatibility with Emacs < 24.,
Tassilo Horn <=
- [elpa] externals/auctex cef38f9 04/35: Handle TeX-region in backward search with both PDF Tools and Evince, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 51e3aa8 06/35: Adapt to PDF Tool changes, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 1bc721b 07/35: Fix error introduced in previous commit, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex adf90e9 09/35: Simplify TeX-pdf-tools-sync-view, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex b858aae 10/35: Make TeX-pdf-tools-sync-view work with region files, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex b2957c8 11/35: Fix bug in pdf-tools support, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 86f4a1e 12/35: Add a hook that's run after an environment is modified, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 566426b 08/35: New style for color.sty, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 3cf92fc 14/35: Fix font-locking issue, Tassilo Horn, 2015/03/22
- [elpa] externals/auctex 39badf0 15/35: New defcustom LaTeX-fill-excluded-macros, Tassilo Horn, 2015/03/22