diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile index f80dd0c3b327..8a66dc494b8e 100644 --- a/japanese/anthy/Makefile +++ b/japanese/anthy/Makefile @@ -1,6 +1,6 @@ PORTNAME= anthy PORTVERSION= 0.4 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= japanese MASTER_SITES= DEBIAN diff --git a/japanese/anthy/files/patch-src-util_anthy.el b/japanese/anthy/files/patch-src-util_anthy.el index e8b6d1da7a6d..db8206b44b7f 100644 --- a/japanese/anthy/files/patch-src-util_anthy.el +++ b/japanese/anthy/files/patch-src-util_anthy.el @@ -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 の 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のバグ避けらしいです + ;; + (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))) +