emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 2e196d2 07/62: ; Silence the compiler


From: Tassilo Horn
Subject: [elpa] externals/auctex 2e196d2 07/62: ; Silence the compiler
Date: Sun, 20 Dec 2020 10:39:50 -0500 (EST)

branch: externals/auctex
commit 2e196d21b9ffd2fd2e9a0b130bf6129b1abbee4b
Author: Arash Esbati <arash@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    ; Silence the compiler
    
    * tex.el: defvar `dbus-debug'.
    (TeX-source-specials-view-expand-options, TeX-arg-literal): Mark
    unused parameters.
---
 tex.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tex.el b/tex.el
index dd74f07..4481bd1 100644
--- a/tex.el
+++ b/tex.el
@@ -106,6 +106,7 @@
 ;; Others:
 (defvar tex--prettify-symbols-alist)   ; tex-mode.el
 (defvar Info-file-list-for-emacs)      ; info.el
+(defvar dbus-debug)                     ; dbus.el
 
 (defgroup TeX-file nil
   "Files used by AUCTeX."
@@ -2022,7 +2023,7 @@ Return the full path to the executable if possible."
        (concat client-full " " options)
       (concat client-base " " options))))
 
-(defun TeX-source-specials-view-expand-options (&optional viewer)
+(defun TeX-source-specials-view-expand-options (&optional _viewer)
   "Return source specials command line option for viewer command.
 The return value depends on the values of
 `TeX-source-correlate-mode' and
@@ -3621,11 +3622,11 @@ Unless optional argument COMPLETE is non-nil, ``: '' 
will be appended."
        (TeX-parse-argument optional (car args))
       (TeX-parse-argument optional args))))
 
-(defun TeX-arg-literal (optional &rest args)
+(defun TeX-arg-literal (_optional &rest args)
   "Insert its arguments ARGS into the buffer.
 Used for specifying extra syntax for a macro.  The compatibility
 argument OPTIONAL is ignored."
-  (apply 'insert args))
+  (apply #'insert args))
 
 
 ;;; Font Locking



reply via email to

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