[mozc] Fix mozc.el not working when byte-compiled.

Akira TAGOH tagoh at fedoraproject.org
Tue Mar 8 03:05:37 UTC 2011


commit 234ded65c8f0dcf3e33fed3a7d78a9fb307527a8
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Tue Mar 8 12:05:32 2011 +0900

    Fix mozc.el not working when byte-compiled.

 mozc-el-byte-compile.patch |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/mozc-el-byte-compile.patch b/mozc-el-byte-compile.patch
new file mode 100644
index 0000000..4477800
--- /dev/null
+++ b/mozc-el-byte-compile.patch
@@ -0,0 +1,19 @@
+diff -pruN mozc.orig/unix/emacs/mozc.el mozc/unix/emacs/mozc.el
+--- mozc.orig/unix/emacs/mozc.el	2011-03-01 12:50:33.000000000 +0900
++++ mozc/unix/emacs/mozc.el	2011-03-08 11:39:17.000000000 +0900
+@@ -940,6 +940,7 @@ and LIST.  The default value of N is 1."
+       (setcdr pre-boundary nil)  ; Drop the rest of list.
+       (cons list post-boundary))))
+ 
++(eval-and-compile
+ (defmacro mozc-characterp (object)
+   "Return non-nil if OBJECT is a character.
+ 
+@@ -957,6 +958,7 @@ This function is equivalent to `string-m
+ Emacs 23."
+   (let ((inhibit-changing-match-data t))
+     (string-match regexp string start)))
++)
+ 
+ 
+ 


More information about the scm-commits mailing list