branch: externals/auctex
commit 237f4099512549694bd5efd87158bc29c6b5f6d0
Author: Tassilo Horn <t...@gnu.org>
Commit: Tassilo Horn <t...@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