[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 03885c7627 02/11: Silence compiler warning
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 03885c7627 02/11: Silence compiler warning |
Date: |
Tue, 31 Jan 2023 10:41:26 -0500 (EST) |
branch: externals/auctex
commit 03885c7627015830963ba0f7d86234ade2ba76bc
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Silence compiler warning
* style/inputenc.el (LaTeX-inputenc-package-options): Delete
`when' with empty body.
---
style/inputenc.el | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/style/inputenc.el b/style/inputenc.el
index 14ff61c6f7..e2e28cd7a7 100644
--- a/style/inputenc.el
+++ b/style/inputenc.el
@@ -1,6 +1,6 @@
;;; inputenc.el --- AUCTeX style for `inputenc.sty' -*- lexical-binding: t;
-*-
-;; Copyright (C) 2005-2021 Free Software Foundation, Inc.
+;; Copyright (C) 2005-2023 Free Software Foundation, Inc.
;; Author: Arne Jørgensen <arne@arnested.dk>
;; Keywords: tex
@@ -53,18 +53,17 @@
;; if necessary offer to set the coding system for saving
;; this buffer based on the selected input encoding
- (when (and (null
- (coding-system-equal
- (coding-system-base
- (or coding-system-for-write
- buffer-file-coding-system))
- (coding-system-base
- (latexenc-inputenc-to-coding-system selected))))
- (y-or-n-p "Set coding system for saving this buffer? ")
- (set-buffer-file-coding-system
+ (and (null (coding-system-equal
+ (coding-system-base
+ (or coding-system-for-write
+ buffer-file-coding-system))
(coding-system-base
- (latexenc-inputenc-to-coding-system selected)))
- (message nil)))
+ (latexenc-inputenc-to-coding-system selected))))
+ (y-or-n-p "Set coding system for saving this buffer? ")
+ (set-buffer-file-coding-system
+ (coding-system-base
+ (latexenc-inputenc-to-coding-system selected)))
+ (message nil))
;; return selected input encoding
selected)))
- [elpa] externals/auctex updated (ebd714ef81 -> a2a6ab9f22), Tassilo Horn, 2023/01/31
- [elpa] externals/auctex 03885c7627 02/11: Silence compiler warning,
Tassilo Horn <=
- [elpa] externals/auctex 6ccc3d4149 03/11: Remove Emacs 24.3 compat code, Tassilo Horn, 2023/01/31
- [elpa] externals/auctex edc5e2ff63 09/11: Call Texdoc coherently, Tassilo Horn, 2023/01/31
- [elpa] externals/auctex c2fdf896a6 04/11: * style/multibib.el: Replace `TeX-arg-eval'., Tassilo Horn, 2023/01/31
- [elpa] externals/auctex f5d40daa95 07/11: ; * style/nameref.el ("nameref"): Fix comment., Tassilo Horn, 2023/01/31
- [elpa] externals/auctex a2a6ab9f22 11/11: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2023/01/31
- [elpa] externals/auctex e7379b3fec 01/11: Simplify version and date specification, Tassilo Horn, 2023/01/31
- [elpa] externals/auctex 38d8561add 10/11: Add a paragraph to Texdoc section in the documentation, Tassilo Horn, 2023/01/31
- [elpa] externals/auctex adbdce6a27 05/11: Pacify compiler warning, Tassilo Horn, 2023/01/31
- [elpa] externals/auctex 3ceb011395 06/11: * style/multido.el ("multido"): Fix query prompt., Tassilo Horn, 2023/01/31
- [elpa] externals/auctex 2bc07b78ff 08/11: Fix `TeX-documentation-texdoc' for okular, Tassilo Horn, 2023/01/31