[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 8f0638c 1/6: Fix merging
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 8f0638c 1/6: Fix merging |
Date: |
Thu, 25 Mar 2021 09:45:00 -0400 (EDT) |
branch: externals/auctex
commit 8f0638c5a3487ab88ccae616c4f8c708a842d84d
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
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.
---
tex-buf.el | 2 +-
tex.el | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
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)
- [elpa] externals/auctex updated (ce2ba8f -> 64e54ee), Tassilo Horn, 2021/03/25
- [elpa] externals/auctex 8f0638c 1/6: Fix merging,
Tassilo Horn <=
- [elpa] externals/auctex adc70b8 4/6: Fix void function error, Tassilo Horn, 2021/03/25
- [elpa] externals/auctex 65a711b 2/6: Discard obsolete variables, Tassilo Horn, 2021/03/25
- [elpa] externals/auctex 6a47321 5/6: Fix font-latex.el, Tassilo Horn, 2021/03/25
- [elpa] externals/auctex a7b5f1a 3/6: Fix documents, Tassilo Horn, 2021/03/25
- [elpa] externals/auctex 64e54ee 6/6: Merge branch 'master' into externals/auctex, Tassilo Horn, 2021/03/25