auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, lexical-binding-attempt-1, updated. 8b


From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, lexical-binding-attempt-1, updated. 8bfa0ba6121c53dfd93921d728241a08f15015fc
Date: Wed, 23 Sep 2020 22:37:19 -0400 (EDT)

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, lexical-binding-attempt-1 has been updated
       via  8bfa0ba6121c53dfd93921d728241a08f15015fc (commit)
      from  bacdf14aa2a99732034bb7c869f3643222c8222d (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 8bfa0ba6121c53dfd93921d728241a08f15015fc
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Date:   Tue Sep 22 22:01:45 2020 +0900

    Use declared dynamic variable in tex-jp
    
    * tex-jp.el (TeX-expand-list-builtin): Replace former dynamic var
    `pos' with `TeX-expand-pos'.
    (): Enable lexical binding.
    Move `coding' tag to the File Local Variable section at EOF.
    Update copyright year.

diff --git a/tex-jp.el b/tex-jp.el
index dff1b11..41ea4c5 100644
--- a/tex-jp.el
+++ b/tex-jp.el
@@ -1,6 +1,6 @@
-;;; tex-jp.el --- Support for Japanese TeX.  -*- coding: iso-2022-jp-unix; -*-
+;;; tex-jp.el --- Support for Japanese TeX.  -*- lexical-binding: t; -*-
 
-;; Copyright (C) 1999, 2001-2008, 2012-2013, 2016-2018
+;; Copyright (C) 1999, 2001-2008, 2012-2013, 2016-2018, 2020
 ;;   Free Software Foundation, Inc.
 
 ;; Author:     KOBAYASHI Shinji <koba@flab.fujitsu.co.jp>,
@@ -148,7 +148,8 @@ systems are determined by their values regardless of the 
kanji option."
                          (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)))
+                           (setq TeX-expand-pos
+                                 (+ TeX-expand-pos (length result)))
                            result)
                        ""))))
         ;; pxdvi と %(o?)xdvi の適切な方を選択する。
@@ -912,4 +913,8 @@ save size
 
 (provide 'tex-jp)
 
+;; Local Variables:
+;; coding: iso-2022-jp-unix
+;; End:
+
 ;;; tex-jp.el ends here

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

Summary of changes:
 tex-jp.el | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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