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. 8f0638c5a3487ab88ccae


From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 8f0638c5a3487ab88ccae616c4f8c708a842d84d
Date: Wed, 24 Mar 2021 22:54:12 -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, master has been updated
       via  8f0638c5a3487ab88ccae616c4f8c708a842d84d (commit)
      from  7606a49da2b1c22c9ebaeb734e77b4504c91b451 (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 8f0638c5a3487ab88ccae616c4f8c708a842d84d
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Date:   Thu Mar 25 11:16:06 2021 +0900

    Fix merging
    
    * tex-buf.el (TeX-region-update): Use `begin', not `TeX--begin'.
    * tex.el (TeX--call-minor-mode): Rename from `tex--call-minor-mode' to
    make prefix uniform in AUCTeX.
    (): Add autoload declaration of `TeX-previous-error'.
    (TeX-output-dir): Use #' instead of ' to quote function name.

diff --git a/tex-buf.el b/tex-buf.el
index 601d5a0..84f1162 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -185,7 +185,7 @@ pinned region will get unpinned and vice versa."
     (TeX-region-create (TeX-region-file TeX-default-extension)
                        (buffer-substring-no-properties begin end)
                        (file-name-nondirectory (buffer-file-name))
-                       (TeX-current-offset TeX--begin))))
+                       (TeX-current-offset begin))))
 
 (defun TeX-command-region (&optional override-confirm)
   "Run TeX on the current region.
diff --git a/tex.el b/tex.el
index 39cca4d..d50f974 100644
--- a/tex.el
+++ b/tex.el
@@ -711,6 +711,7 @@ sure \"%p\" is the first entry."
 (autoload 'TeX-home-buffer "tex-buf" nil t)
 (autoload 'TeX-kill-job "tex-buf" nil t)
 (autoload 'TeX-next-error "tex-buf" nil t)
+(autoload 'TeX-previous-error "tex-buf" nil t)
 (autoload 'TeX-output-extension "tex-buf")
 (autoload 'TeX-pin-region "tex-buf" nil t)
 (autoload 'TeX-pop-to-buffer "tex-buf")
@@ -753,11 +754,11 @@ emacs 24.1 and is then later run by emacs 24.5."
                                        (cons elt "AUCTeX"))))
 
 (if (fboundp 'advice-add)               ;Emacs≥24.4 (or ELPA package nadvice)
-    (advice-add 'hack-one-local-variable :after #'tex--call-minor-mode)
+    (advice-add 'hack-one-local-variable :after #'TeX--call-minor-mode)
   (defadvice hack-one-local-variable (after TeX-hack-one-local-variable-after
                                           activate)
-    (tex--call-minor-mode (ad-get-arg 0) (ad-get-arg 1))))
-(defun tex--call-minor-mode (var val &rest _)
+    (TeX--call-minor-mode (ad-get-arg 0) (ad-get-arg 1))))
+(defun TeX--call-minor-mode (var val &rest _)
   "Call minor mode function if minor mode variable is found."
     ;; Instead of checking for each mode explicitely `minor-mode-list'
     ;; could be used.  But this may make the byte compiler pop up.
@@ -2531,7 +2532,7 @@ file in `TeX-master'. The path cannot contain a directory 
that
 starts with '.'. If this variable is nil, the output directory is
 assumed to be the same as the directory of `TeX-master'."
   :group 'TeX-file
-  :safe 'string-or-null-p
+  :safe #'string-or-null-p
   :type '(choice (const :tag "Directory of master file" nil)
                  (string :tag "Custom" "build")))
 (make-variable-buffer-local 'TeX-output-dir)

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

Summary of changes:
 tex-buf.el | 2 +-
 tex.el     | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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