pkgsrc-wip/tamago-anthy/patches/patch-ac
Makoto Fujiwara cdb1c341cf (1) MESSAGE
Add following line
+;; (3) You may need following line in init file to work with
+;; recent UCS(UTF-8) enabled emacs.
+      (setq anthy-egg-use-utf8 t)

Have ;; in front of each lines for ease to use in Emacs init file

(2) patches/patch-??
Add comments for each patch

(3) Makefile
Add comments or clarify them.
Have set -e for pkglint flags without it.
 post-build:
+       set -e; \
2011-04-14 03:27:16 +00:00

17 lines
752 B
Text

$NetBSD: patch-ac,v 1.2 2011/04/14 03:27:17 makoto Exp $
make-local-hook is used only before emacs-21.
--- egg.el.orig 2002-07-22 22:18:56.000000000 +0900
+++ egg.el 2010-10-04 11:43:20.000000000 +0900
@@ -169,7 +169,9 @@
(setq egg-modeless-mode t))
(setq inactivate-current-input-method-function 'egg-mode)
(setq describe-current-input-method-function 'egg-help)
- (make-local-hook 'input-method-activate-hook)
+ (if (and (boundp 'emacs-major-version)
+ (< emacs-major-version 21))
+ (make-local-hook 'input-method-activate-hook))
(add-hook 'input-method-activate-hook 'its-set-mode-line-title nil t)
(if (eq (selected-window) (minibuffer-window))
(add-hook 'minibuffer-exit-hook 'egg-exit-from-minibuffer))