[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex c872521 3/7: Deal with strange file name
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex c872521 3/7: Deal with strange file name |
Date: |
Fri, 21 Apr 2017 10:59:08 -0400 (EDT) |
branch: externals/auctex
commit c872521f4d726895add6d3076e2b9d1d6e7bdb03
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Deal with strange file name
* tex-jp.el (): Increase `pos' in case the master file
name happens to contain special %-sequence.
---
tex-jp.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tex-jp.el b/tex-jp.el
index 3b56a67..5bdae54 100644
--- a/tex-jp.el
+++ b/tex-jp.el
@@ -205,7 +205,12 @@ For detail, see `TeX-command-list', to which this list is
appended."
(let ((dicname (TeX-master-file "dic" t)))
(if (file-exists-p
(expand-file-name dicname (TeX-master-directory)))
- (format "-d %s" dicname) ""))))
+ (let ((result (format "-d %s" dicname)))
+ ;; Advance past the file name in order to
+ ;; prevent expanding any substring of it.
+ (setq pos (+ pos (length result)))
+ result)
+ ""))))
;; pxdvi $B$H(B %(o?)xdvi $B$NE,@Z$JJ}$rA*Br$9$k!#(B
("%(xdvi)" (lambda ()
;; pxdvi $B$O(B ptex, jtex $B6&MQ$J$N$G!"(B
- [elpa] externals/auctex updated (2006ac9 -> 3edf068), Tassilo Horn, 2017/04/21
- [elpa] externals/auctex 08930b5 4/7: Improve error handling for Japanese users, Tassilo Horn, 2017/04/21
- [elpa] externals/auctex 865906c 2/7: Support upmendex, Tassilo Horn, 2017/04/21
- [elpa] externals/auctex f676608 5/7: Fix parsing of LaTeX2e date formats, Tassilo Horn, 2017/04/21
- [elpa] externals/auctex 0c15e6c 6/7: Do not highlight thin spaces with \,, Tassilo Horn, 2017/04/21
- [elpa] externals/auctex 3320d1e 1/7: Improve command highlighting to not be triggered by hyphenation, Tassilo Horn, 2017/04/21
- [elpa] externals/auctex c872521 3/7: Deal with strange file name,
Tassilo Horn <=
- [elpa] externals/auctex 3edf068 7/7: Merge branch 'master' into externals/auctex, Tassilo Horn, 2017/04/21