auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 237f409 26/62: ; Suppress warning


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 237f409 26/62: ; Suppress warning about obsolete inactivate-input-method
Date: Sun, 20 Dec 2020 10:39:56 -0500 (EST)

branch: externals/auctex
commit 237f4099512549694bd5efd87158bc29c6b5f6d0
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    ; Suppress warning about obsolete inactivate-input-method
---
 tex.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tex.el b/tex.el
index 681a8a3..43cc8d1 100644
--- a/tex.el
+++ b/tex.el
@@ -5992,7 +5992,8 @@ sign.  With optional ARG, insert that many dollar signs."
        ;; inactivate-input-method is obsolete since emacs 24.3.
        (if (fboundp 'deactivate-input-method)
           (deactivate-input-method)
-        (inactivate-input-method))))
+        (with-suppressed-warnings ((obsolete inactivate-input-method))
+           (inactivate-input-method)))))
 
 ;;; Simple Commands
 



reply via email to

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