japanese/anthy: Fix runtime error of anthy.el with emacs-29.1
PR: 276493 Submitted by: Akira Sasaki <mah-chan@eagle.ocn.ne.jp>
This commit is contained in:
parent
e44c9efcca
commit
788bd5f72d
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= anthy
|
||||
PORTVERSION= 0.4
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= japanese
|
||||
MASTER_SITES= DEBIAN
|
||||
|
|
|
@ -18,3 +18,21 @@
|
|||
(if anthy-xemacs
|
||||
(if (coding-system-p (find-coding-system 'euc-japan))
|
||||
(set-process-coding-system proc 'euc-japan 'euc-japan))
|
||||
@@ -864,7 +864,7 @@
|
||||
;; leim $B$N(B activate
|
||||
;;
|
||||
(defun anthy-leim-activate (&optional name)
|
||||
- (setq inactivate-current-input-method-function 'anthy-leim-inactivate)
|
||||
+ (setq deactivate-current-input-method-function 'anthy-leim-inactivate)
|
||||
(setq anthy-leim-active-p t)
|
||||
(anthy-update-mode)
|
||||
(when (eq (selected-window) (minibuffer-window))
|
||||
@@ -874,7 +874,7 @@
|
||||
;; emacs$B$N%P%0Hr$1$i$7$$$G$9(B
|
||||
;;
|
||||
(defun anthy-leim-exit-from-minibuffer ()
|
||||
- (inactivate-input-method)
|
||||
+ (deactivate-input-method)
|
||||
(when (<= (minibuffer-depth) 1)
|
||||
(remove-hook 'minibuffer-exit-hook 'anthy-leim-exit-from-minibuffer)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue