auctex-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 487c91fddb 04/48: ; Pacify compiler warning: Unu


From: Tassilo Horn
Subject: [elpa] externals/auctex 487c91fddb 04/48: ; Pacify compiler warning: Unused lexical argument `ignored'
Date: Fri, 18 Nov 2022 14:27:42 -0500 (EST)

branch: externals/auctex
commit 487c91fddbcb6f1e3cf649956374814761802797
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    ; Pacify compiler warning: Unused lexical argument `ignored'
    
    * tex-bar.el (TeX-bar-LaTeX-button-alist): Mark unused arguments.
---
 tex-bar.el | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/tex-bar.el b/tex-bar.el
index 5c36f24b4f..a6804e1862 100644
--- a/tex-bar.el
+++ b/tex-bar.el
@@ -273,13 +273,13 @@ the argument BUTTON-ALIST in function 
`toolbarx-install-toolbar'."
            :command (progn
                       (TeX-save-document #'TeX-master-file)
                       (TeX-command "LaTeX" #'TeX-master-file -1))
-           :help ,(lambda (&rest ignored)
+           :help ,(lambda (&rest _ignored)
                     (TeX-bar-help-from-command-list "LaTeX")))
     (pdflatex :image "pdftex"
               :command (progn
                          (TeX-save-document #'TeX-master-file)
                          (TeX-command "PDFLaTeX" #'TeX-master-file -1))
-              :help ,(lambda (&rest ignored)
+              :help ,(lambda (&rest _ignored)
                        (TeX-bar-help-from-command-list "PDFLaTeX")))
     (next-error :image "error"
                 :command TeX-next-error
@@ -287,30 +287,30 @@ the argument BUTTON-ALIST in function 
`toolbarx-install-toolbar'."
                 :visible (TeX-error-report-has-errors-p))
     (view :image ,(lambda nil (if TeX-PDF-mode "viewpdf" "viewdvi"))
           :command (TeX-command "View" #'TeX-master-file -1)
-          :help ,(lambda (&rest ignored)
+          :help ,(lambda (&rest _ignored)
                    (TeX-bar-help-from-command-list "View")))
     (file :image "dvips"
           :command (TeX-command "File" #'TeX-master-file -1)
           :visible (not TeX-PDF-mode)
-          :help ,(lambda (&rest ignored)
+          :help ,(lambda (&rest _ignored)
                    (TeX-bar-help-from-command-list "File")))
     (bibtex :image "bibtex"
             :command (TeX-command (if LaTeX-using-Biber "Biber" "BibTeX")
                                   #'TeX-master-file -1)
-            :help ,(lambda (&rest ignored)
+            :help ,(lambda (&rest _ignored)
                      (TeX-bar-help-from-command-list
                       (if LaTeX-using-Biber "Biber" "BibTeX"))))
     (clean  :image "delete"
             :command (TeX-command "Clean" #'TeX-master-file -1)
-            :help ,(lambda (&rest ignored)
+            :help ,(lambda (&rest _ignored)
                      (TeX-bar-help-from-command-list "Clean")))
     (spell  :image "spell"
             :command (TeX-command "Spell" #'TeX-master-file -1)
-            :help ,(lambda (&rest ignored)
+            :help ,(lambda (&rest _ignored)
                      (TeX-bar-help-from-command-list "Spell")))
     (latex-symbols-experimental . (:alias :eval-group
-                                   LaTeX-symbols-toolbar-switch-contents
-                                   LaTeX-symbols-toolbar-contents)))
+                                          LaTeX-symbols-toolbar-switch-contents
+                                          LaTeX-symbols-toolbar-contents)))
   "Alist for button definitions in TeX bar.
 Value should le a list where each element is of format (KEY .
 PROPS), where KEY is a symbol that labels the button and PROPS is




reply via email to

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