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. be4a912097521709f7461


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. be4a912097521709f74617b2ef9b45e1487a2830
Date: Thu, 20 Aug 2020 16:21:11 -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  be4a912097521709f74617b2ef9b45e1487a2830 (commit)
      from  b06ca0a48e56b7e006be02a7a845054d600538c5 (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 be4a912097521709f74617b2ef9b45e1487a2830
Author: Arash Esbati <arash@gnu.org>
Date:   Thu Aug 20 22:20:22 2020 +0200

    ; Silence the compiler
    
    * tex-font.el (tex-math-face): Add variable to tex group.
    
    * tex.el: defvar internal and external variables.

diff --git a/tex-font.el b/tex-font.el
index 27c9cf2..cdedc42 100644
--- a/tex-font.el
+++ b/tex-font.el
@@ -148,7 +148,8 @@
 
 (defface tex-math-face
   '((t :inherit font-lock-string-face))
-  "Face used to highlight TeX math expressions.")
+  "Face used to highlight TeX math expressions."
+  :group 'tex)
 (defvar tex-math-face 'tex-math-face)
 
 ;; Use string syntax but math face for $...$.
diff --git a/tex.el b/tex.el
index b954eba..b2bbbbf 100644
--- a/tex.el
+++ b/tex.el
@@ -35,6 +35,7 @@
 (require 'tex-site)
 (eval-when-compile
   (require 'cl-lib))
+(require 'texmathp)
 
 ;; Silence the compiler for functions:
 (declare-function dbus-ignore-errors "ext:dbus"
@@ -65,6 +66,48 @@
 (declare-function spell-buffer "ext:text-mode"
                  t)
 
+;; Silence the compiler for variables:
+;; tex.el: Variables defined somewhere in this file:
+(defvar TeX-PDF-from-DVI)
+(defvar TeX-PDF-mode)
+(defvar TeX-PDF-mode-parsed)
+(defvar TeX-all-extensions)
+(defvar TeX-command-default)
+(defvar TeX-default-extension)
+(defvar TeX-esc)
+(defvar TeX-interactive-mode)
+(defvar TeX-macro-global)
+(defvar TeX-mode-map)
+(defvar TeX-mode-p)
+(defvar TeX-output-extension)
+(defvar TeX-output-extension)
+(defvar TeX-source-correlate-mode)
+(defvar TeX-source-specials-places)
+(defvar TeX-source-specials-tex-flags)
+(defvar TeX-synctex-tex-flags)
+;; Variables defined in other AUCTeX libraries:
+;; latex.el:
+(defvar BibLaTeX-global-style-files)
+(defvar BibTeX-global-files)
+(defvar BibTeX-global-style-files)
+(defvar LaTeX-default-verb-delimiter)
+(defvar LaTeX-global-class-files)
+(defvar LaTeX-optcl)
+(defvar LaTeX-optop)
+(defvar TeX-Biber-global-files)
+(defvar TeX-global-input-files)
+;; tex-buf.el
+(defvar TeX-current-process-region-p)
+(defvar TeX-region)
+(defvar TeX-region-orig-buffer)
+;; tex-ispell.el
+(defvar TeX-ispell-verb-delimiters)
+;; graphicx.el
+(defvar LaTeX-includegraphics-global-files)
+;; Others:
+(defvar tex--prettify-symbols-alist)   ; tex-mode.el
+(defvar Info-file-list-for-emacs)      ; info.el
+
 (defgroup TeX-file nil
   "Files used by AUCTeX."
   :group 'AUCTeX)
@@ -1191,7 +1234,7 @@ entry in `TeX-view-program-list-builtin'."
   (if (and TeX-source-correlate-mode
           (fboundp 'pdf-sync-forward-search))
       (with-current-buffer (or (when TeX-current-process-region-p
-                                (get-file-buffer (TeX-region-file t)))
+                                (get-file-buffer (TeX-region-file t)))
                               (current-buffer))
        (pdf-sync-forward-search))
     (let ((pdf (concat file "." (TeX-output-extension))))

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

Summary of changes:
 tex-font.el |  3 ++-
 tex.el      | 45 ++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 46 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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