[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 03885c76: Silence compiler warning
From: |
Arash Esbati |
Subject: |
master 03885c76: Silence compiler warning |
Date: |
Thu, 19 Jan 2023 06:09:51 -0500 (EST) |
branch: master
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 14ff61c6..e2e28cd7 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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 03885c76: Silence compiler warning,
Arash Esbati <=