diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2015-02-01 16:45:59 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2015-02-01 16:45:59 +0000 |
commit | f534b6cf0ae7051fbaabae34a0329c14e8659888 (patch) | |
tree | fc2f3024a7b4e76f950e3d0ed31628e27a5d0583 /editors/tamago/files/patch-egg-anthy.el | |
parent | - Update to 2.2.1 (diff) |
- Use fboundp instead of boundp to check binding of
deactivate-input-method.
- Remove an extra flag for test(1) in Makefile.in.
- Use with-current-buffer instead of a save-excursion + set-buffer pair.
- Fix (fboundp finalize) in egg/wnn.el and egg/canna.el.
- Remove HAS_JISX0213 check.
- Nuke *.el files from plist.
Notes
Notes:
svn path=/head/; revision=378252
Diffstat (limited to 'editors/tamago/files/patch-egg-anthy.el')
-rw-r--r-- | editors/tamago/files/patch-egg-anthy.el | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/editors/tamago/files/patch-egg-anthy.el b/editors/tamago/files/patch-egg-anthy.el index a5173376a6fc..ff2107ec5b38 100644 --- a/editors/tamago/files/patch-egg-anthy.el +++ b/editors/tamago/files/patch-egg-anthy.el @@ -1,6 +1,6 @@ --- egg/anthy.el.orig 2015-01-31 19:24:09.000000000 +0900 -+++ egg/anthy.el 2015-01-31 19:39:19.000000000 +0900 -@@ -146,7 +146,7 @@ ++++ egg/anthy.el 2015-02-02 00:32:09.000000000 +0900 +@@ -146,12 +146,11 @@ (if anthy-egg-use-utf8 '("--egg" "--utf8") '("--egg")))) @@ -9,3 +9,19 @@ (set-process-coding-system anthy-egg-proc cs cs) (set-process-sentinel anthy-egg-proc 'anthy-egg-proc-sentinel) (set-marker-insertion-type (process-mark anthy-egg-proc) t) +- (save-excursion +- (set-buffer buf) ++ (with-current-buffer buf + (erase-buffer) + (buffer-disable-undo)) + (anthyipc-get-greeting anthy-egg-proc))) +@@ -404,8 +403,7 @@ + (let ((buf (get-buffer-create anthy-egg-dic-buffer-name)) + (cs (if anthy-egg-use-utf8 'utf-8-unix 'euc-japan-unix)) + proc) +- (save-excursion +- (set-buffer buf) ++ (with-current-buffer buf + (setq proc (apply 'start-process "anthy-egg-dic" buf + anthy-egg-dic-util-command + (if anthy-egg-use-utf8 |