[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 858e6dc 35/62: ; Fix more byte-co
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 858e6dc 35/62: ; Fix more byte-compiler warnings |
Date: |
Sun, 20 Dec 2020 10:39:59 -0500 (EST) |
branch: externals/auctex
commit 858e6dc0c9f50537adb741d0622ac6da732b020e
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
; Fix more byte-compiler warnings
---
latex.el | 2 ++
tex-info.el | 6 ++++--
tex.el | 44 ++++++++++++++++++++------------------------
3 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/latex.el b/latex.el
index b42e158..0b6117f 100644
--- a/latex.el
+++ b/latex.el
@@ -6038,6 +6038,8 @@ This happens when \\left is inserted."
(declare-function LaTeX-preview-setup "preview")
+(defvar TeX-sentinel-default-function) ;; Defined in tex-buf.el.
+
;;;###autoload
(defun TeX-latex-mode ()
"Major mode in AUCTeX for editing LaTeX files.
diff --git a/tex-info.el b/tex-info.el
index 7c4b8a9..7a6729a 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -624,6 +624,8 @@ is assumed by default."
;;;###autoload
(defalias 'Texinfo-mode 'texinfo-mode)
+(defvar TeX-sentinel-default-function) ;; Defined in tex-buf.el.
+
;;;###autoload
(defun TeX-texinfo-mode ()
"Major mode in AUCTeX for editing Texinfo files.
@@ -691,8 +693,8 @@ value of `Texinfo-mode-hook'."
(setq TeX-trailer-start (regexp-quote (concat TeX-esc "bye")))
(set (make-local-variable 'TeX-complete-list)
- (list (list "@\\([a-zA-Z]*\\)" 1 'TeX-symbol-list-filtered nil)
- (list "" TeX-complete-word)))
+ (list (list "@\\([a-zA-Z]*\\)" 1 'TeX-symbol-list-filtered nil)
+ (list "" TeX-complete-word)))
(set (make-local-variable 'TeX-font-list) Texinfo-font-list)
(set (make-local-variable 'TeX-font-replace-function)
'TeX-font-replace-macro)
diff --git a/tex.el b/tex.el
index aa4b113..1a22ef8 100644
--- a/tex.el
+++ b/tex.el
@@ -50,14 +50,6 @@
(bus service path interface method &rest args))
(declare-function dbus-register-signal "ext:dbus"
(bus service path interface signal handler &rest args))
-(declare-function TeX-output-extension "tex-buf"
- nil)
-(declare-function TeX-command-expand "tex-buf"
- (command &optional list))
-(declare-function TeX-active-master "tex-buf"
- (&optional extension nondirectory ignore))
-(declare-function TeX-pop-to-buffer "tex-buf"
- (buffer &optional other-window norecord))
(declare-function LaTeX-environment-list "latex"
nil)
(declare-function tex--prettify-symbols-compose-p "ext:tex-mode"
@@ -701,25 +693,29 @@ sure \"%p\" is the first entry."
;; should remain unloaded as long as one is only editing files, so
;; requiring it here would be wrong.
-(autoload 'TeX-region-create "tex-buf" nil nil)
-(autoload 'TeX-save-document "tex-buf" nil t)
-(autoload 'TeX-home-buffer "tex-buf" nil t)
-(autoload 'TeX-pin-region "tex-buf" nil t)
-(autoload 'TeX-command-region "tex-buf" nil t)
+(autoload 'LaTeX-command-run-all-section "tex-buf" nil t)
+(autoload 'LaTeX-command-section "tex-buf" nil t)
+(autoload 'TeX-active-master "tex-buf")
+(autoload 'TeX-command "tex-buf")
(autoload 'TeX-command-buffer "tex-buf" nil t)
+(autoload 'TeX-command-expand "tex-buf")
(autoload 'TeX-command-master "tex-buf" nil t)
-(autoload 'LaTeX-command-section "tex-buf" nil t)
+(autoload 'TeX-command-region "tex-buf" nil t)
(autoload 'TeX-command-run-all "tex-buf" nil t)
(autoload 'TeX-command-run-all-region "tex-buf" nil t)
-(autoload 'LaTeX-command-run-all-section "tex-buf" nil t)
-(autoload 'TeX-command "tex-buf" nil nil)
+(autoload 'TeX-current-offset "tex-buf")
+(autoload 'TeX-error-overview "tex-buf" nil t)
+(autoload 'TeX-home-buffer "tex-buf" nil t)
(autoload 'TeX-kill-job "tex-buf" nil t)
-(autoload 'TeX-recenter-output-buffer "tex-buf" nil t)
(autoload 'TeX-next-error "tex-buf" nil t)
-(autoload 'TeX-error-overview "tex-buf" nil t)
-(autoload 'TeX-region-file "tex-buf" nil nil)
-(autoload 'TeX-current-offset "tex-buf" nil nil)
-(autoload 'TeX-process-set-variable "tex-buf" nil nil)
+(autoload 'TeX-output-extension "tex-buf")
+(autoload 'TeX-pin-region "tex-buf" nil t)
+(autoload 'TeX-pop-to-buffer "tex-buf")
+(autoload 'TeX-process-set-variable "tex-buf")
+(autoload 'TeX-recenter-output-buffer "tex-buf" nil t)
+(autoload 'TeX-region-create "tex-buf")
+(autoload 'TeX-region-file "tex-buf")
+(autoload 'TeX-save-document "tex-buf" nil t)
(autoload 'TeX-view "tex-buf" nil t)
;;; Portability.
@@ -738,10 +734,10 @@ but takes care of byte-compilation issues where the
byte-code for
the latter could signal an error if it has been compiled with
emacs 24.1 and is then later run by emacs 24.5."
(declare (indent 2) (debug (symbolp form &rest form)))
- (if (fboundp name) ;If macro exists at compile-time, just use it.
+ (if (fboundp name) ;If macro exists at compile-time, just use it.
then
- `(if (fboundp ',name) ;Else, check if it exists at run-time.
- (eval ',then) ;If it does, then run the then code.
+ `(if (fboundp ',name) ;Else, check if it exists at run-time.
+ (eval ',then) ;If it does, then run the then code.
,@else))) ;Otherwise, run the else code.
(require 'easymenu)
- [AUCTeX-diffs] [elpa] externals/auctex 70dc031 38/62: ; Fix more byte-compiler warnings in styles, (continued)
- [AUCTeX-diffs] [elpa] externals/auctex 70dc031 38/62: ; Fix more byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 7d87b2a 39/62: ; Fix more byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 596e8ba 48/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 471748b 46/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex feaddc3 25/62: Delete unused ispell code from 1994., Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 3c129fb 49/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 3982971 37/62: Rename LaTeX-dialect to TeX-dialect., Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 59c40b0 30/62: Ensure the trailing slash for directory, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex cbfa1db 43/62: ; Fix byte-compiler warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex a3510c7 51/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 858e6dc 35/62: ; Fix more byte-compiler warnings,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex b5b29a8 55/62: ; Remove duplicate require's of tex.el, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex a92fe0b 59/62: Add new style/scholax.el, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 92de017 53/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex ec263fc 54/62: ; Fix byte-compile warnings, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex eb40d5e 57/62: ; Fix doc string, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 3db4ed7 58/62: ; * tex-bar.el: Enable lexical binding., Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 352de40 50/62: ; Fix byte-compile warnings in styles, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex 8afd11e 03/62: ; Silence the compiler, Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex e9af4f1 14/62: * style/fancyvrb.el: Replace dynamically bound `optional'., Tassilo Horn, 2020/12/20
- [AUCTeX-diffs] [elpa] externals/auctex cebf8cc 16/62: Enable lexical-binding for texmathp.el, Tassilo Horn, 2020/12/20