[pkg-anthy-japanese] anthy.elのバージョン判断
Hideki Yamane
henrich @ debian.or.jp
2015年 6月 18日 (木) 15:33:35 UTC
やまねです。
anthy.elに対して
http://osdn.jp/ticket/browse.php?group_id=14&tid=11263 にある
問題のパッチを頂きました。
現状の0.3だとまた違う形になっているようですが、
(if (string-match "^2[23456789]\." emacs-version)
良い方を判断いただけますか。
Author: Naoki Oshiro <oshiro @ mibai.tec.u-ryukyu.ac.jp>
$ diff -u anthy-9100h-25/anthy.el.old anthy-9100h-25/anthy.el
--- anthy-9100h-25/src-util/anthy.el.old 2015-06-12 22:06:07.650371463 +0900
+++ anthy-9100h-25/src-util/anthy.el 2015-06-12 22:07:16.890370892 +0900
@@ -56,7 +56,7 @@
"_Ѵ_____ʸ___ζ__ڤ__˻Ȥ_____ʸ____")
(defvar anthy-accept-timeout 50)
-(if (string-match "^22\." emacs-version)
+(if (>= emacs-major-version 22)
(setq anthy-accept-timeout 1))
(defconst anthy-working-buffer " *anthy*")
Pkg-anthy-japanese メーリングリストの案内