[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex e293844 07/30: ; Silence the compiler
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex e293844 07/30: ; Silence the compiler |
Date: |
Fri, 25 Sep 2020 11:00:12 -0400 (EDT) |
branch: externals/auctex
commit e293844ce819557459ca3fc5cd50a0d5fd8f0585
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
; Silence the compiler
* style/exam.el (LaTeX-exam-insert-item):
* style/ifluatex.el (LaTeX-ifluatex-set-exit-mark): Use
`with-no-warnings' around variables defined at run time.
---
style/exam.el | 29 +++++++++++++++--------------
style/ifluatex.el | 5 +++--
2 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/style/exam.el b/style/exam.el
index 3ecc38d..a1ce1b5 100644
--- a/style/exam.el
+++ b/style/exam.el
@@ -51,20 +51,21 @@
(defun LaTeX-exam-insert-item ()
"Insert a new item in an environment from exam class.
Item inserted depends on the environment."
- (TeX-insert-macro
- (cond ((string= environment "questions")
- "question")
- ((string= environment "parts")
- "part")
- ((string= environment "subparts")
- "subpart")
- ((string= environment "subsubparts")
- "subsubpart")
- ((member environment '("choices" "oneparchoices"
- "checkboxes" "oneparcheckboxes"))
- "choice")
- ;; Fallback
- (t "item"))))
+ (with-no-warnings
+ (TeX-insert-macro
+ (cond ((string= environment "questions")
+ "question")
+ ((string= environment "parts")
+ "part")
+ ((string= environment "subparts")
+ "subpart")
+ ((string= environment "subsubparts")
+ "subsubpart")
+ ((member environment '("choices" "oneparchoices"
+ "checkboxes" "oneparcheckboxes"))
+ "choice")
+ ;; Fallback
+ (t "item")))))
(defun LaTeX-exam-insert-label (_optional &optional name type)
"Indent the line and query/insert a label incl. the \"\\label\" macro.
diff --git a/style/ifluatex.el b/style/ifluatex.el
index 20d3c8d..736e5ca 100644
--- a/style/ifluatex.el
+++ b/style/ifluatex.el
@@ -1,6 +1,6 @@
;;; ifluatex.el --- AUCTeX style for `ifluatex.sty' version 1.3.
-;; Copyright (C) 2014, 2016, 2018 Free Software Foundation, Inc.
+;; Copyright (C) 2014, 2016, 2018, 2020 Free Software Foundation, Inc.
;; Author: Davide G. M. Salvetti <salve@debian.org>
;; Maintainer: auctex-devel@gnu.org
@@ -36,7 +36,8 @@
(defun LaTeX-ifluatex-set-exit-mark (_optional)
"Discard OPTIONAL and set exit-mark to current point."
- (set-marker exit-mark (point)))
+ (with-no-warnings
+ (set-marker exit-mark (point))))
(TeX-add-style-hook
"ifluatex"
- [elpa] externals/auctex updated (b6366ef -> 1bc7a21), Tassilo Horn, 2020/09/25
- [elpa] externals/auctex bdf96e8 03/30: Ajust document, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 2e798ee 02/30: Support \newblock macro, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex dd7f844 12/30: Add support of \tag for texmathp, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 94af6a0 04/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 1b71eb6 05/30: Add short verb characters to `ispell-tex-skip-alist', Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 2e448e3 13/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 840973c 08/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 243961c 06/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex e293844 07/30: ; Silence the compiler,
Tassilo Horn <=
- [elpa] externals/auctex 55e8842 15/30: Treat \choice like \item, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 971bece 14/30: Update style/csquotes.el to package version 5.2j, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex a17fee2 16/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 59b7942 17/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 07b79fc 24/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 087b030 28/30: Simplify mode line for emacs 27, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex b06ca0a 25/30: Fix document, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 0692e51 23/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 601e6a3 01/30: Get rid of gabage in generated texi file, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 4d58d7d 09/30: Don't extend font lock region too eagerly (bug#42267), Tassilo Horn, 2020/09/25