git: 32ccb6aa01a5 - main - textproc/uim-el: Fix runtime error with emacs-29.1

From: MANTANI Nobutaka <nobutaka_at_FreeBSD.org>
Date: Sun, 28 Jan 2024 17:08:59 UTC
The branch main has been updated by nobutaka:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32ccb6aa01a5591097319fd3d3347bc0859b9313

commit 32ccb6aa01a5591097319fd3d3347bc0859b9313
Author:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
AuthorDate: 2024-01-28 17:07:04 +0000
Commit:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
CommitDate: 2024-01-28 17:08:14 +0000

    textproc/uim-el: Fix runtime error with emacs-29.1
---
 textproc/uim-el/files/patch-emacs_uim-leim.el | 35 +++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/textproc/uim-el/files/patch-emacs_uim-leim.el b/textproc/uim-el/files/patch-emacs_uim-leim.el
new file mode 100644
index 000000000000..35a142cf4d8a
--- /dev/null
+++ b/textproc/uim-el/files/patch-emacs_uim-leim.el
@@ -0,0 +1,35 @@
+--- emacs/uim-leim.el.orig	2024-01-27 11:04:16 UTC
++++ emacs/uim-leim.el
+@@ -62,7 +62,7 @@
+ 
+   (let (im)
+     ;; register inactivation function
+-    (setq inactivate-current-input-method-function 'uim-leim-inactivate)
++    (setq deactivate-current-input-method-function 'uim-leim-inactivate)
+ 
+     ;; get plain IM engine name from LEIM style name
+     ;;  ex. "Japanese-anthy-uim" => "anthy"
+@@ -80,7 +80,7 @@
+ (defun uim-leim-reset ()
+   (when uim-leim-active
+     (message "uim.el: uim-leim-reset")
+-    (inactivate-input-method)))
++    (deactivate-input-method)))
+ 
+ 
+ (defun uim-leim-make-im-name (im)
+@@ -156,12 +156,12 @@
+ 	    (lambda ()
+ 	      (when uim-leim-active
+ 		(message "uim.el: LEIM inactivated"
+-			 (inactivate-input-method)))))
++			 (deactivate-input-method)))))
+ 
+   (add-hook 'uim-buffer-init-hook 
+ 	    (lambda ()
+ 	      (add-hook 'change-major-mode-hook
+-			'inactivate-input-method nil t)))
++			'deactivate-input-method nil t)))
+ 
+   ;; 
+   ;;uim-leim-update-label