aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/migemo
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2010-01-28 00:54:59 +0800
committernobutaka <nobutaka@FreeBSD.org>2010-01-28 00:54:59 +0800
commit33fc9f9c03e49fe9661160c375ca9321ea4d5a7b (patch)
tree81a47be2bce45ef869c679d68cf0592eb1387fc4 /japanese/migemo
parentc13ef6c038317c98c5b0406e03f62ef96b40279a (diff)
downloadfreebsd-ports-gnome-33fc9f9c03e49fe9661160c375ca9321ea4d5a7b.tar.gz
freebsd-ports-gnome-33fc9f9c03e49fe9661160c375ca9321ea4d5a7b.tar.zst
freebsd-ports-gnome-33fc9f9c03e49fe9661160c375ca9321ea4d5a7b.zip
Fix breakage of isearch-backward function
Submitted by: kuriyama
Diffstat (limited to 'japanese/migemo')
-rw-r--r--japanese/migemo/Makefile2
-rw-r--r--japanese/migemo/files/patch-migemo.el.in16
2 files changed, 17 insertions, 1 deletions
diff --git a/japanese/migemo/Makefile b/japanese/migemo/Makefile
index 5a47ccd8f605..cde963f2134d 100644
--- a/japanese/migemo/Makefile
+++ b/japanese/migemo/Makefile
@@ -7,7 +7,7 @@
PORTNAME= migemo
PORTVERSION= 0.40
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= japanese elisp
MASTER_SITES= http://namazu.org/~satoru/migemo/ \
diff --git a/japanese/migemo/files/patch-migemo.el.in b/japanese/migemo/files/patch-migemo.el.in
new file mode 100644
index 000000000000..dfbfa1149361
--- /dev/null
+++ b/japanese/migemo/files/patch-migemo.el.in
@@ -0,0 +1,16 @@
+--- migemo.el.in.orig 2010-01-20 11:28:54.431452726 +0900
++++ migemo.el.in 2010-01-20 11:30:09.070456941 +0900
+@@ -384,7 +384,12 @@
+ (search-backward-regexp migemo-search-pattern bound noerror count)
+ (or (and (not (eq this-command 'isearch-repeat-backward))
+ (not (get-char-property (point) 'invisible (current-buffer)))
+- (looking-at migemo-search-pattern))
++ (or (and (looking-at migemo-search-pattern)
++ (match-beginning 0))
++ (and (not (eq (point) (point-min)))
++ (progn (forward-char -1)
++ (and (looking-at migemo-search-pattern)
++ (match-beginning 0))))))
+ (search-backward-regexp migemo-search-pattern bound noerror count))))
+
+ ;; experimental