summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Abrahamsen <eric@ericabrahamsen.net>2021-02-07 13:46:50 -0800
committerEric Abrahamsen <eric@ericabrahamsen.net>2021-02-07 13:46:50 -0800
commitfa735ebc0cd4fbb96ae05b494f7728f5707a8536 (patch)
treea4dffc6cd8d91624d9b1eb3c1ccb9dc8e3689b98
parent5a1222196b5a9c3b8afe5c24cd16649a796fa11a (diff)
downloademacs-fa735ebc0cd4fbb96ae05b494f7728f5707a8536.tar.gz
Fix namazu search result parsing in gnus-search
* lisp/gnus/gnus-search.el (gnus-search-indexed-extract): This method is documented to leave point at the end of the extracted search result. The namazu implementation wasn't doing that.
-rw-r--r--lisp/gnus/gnus-search.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-search.el b/lisp/gnus/gnus-search.el
index 0783d34733a..21602f825c1 100644
--- a/lisp/gnus/gnus-search.el
+++ b/lisp/gnus/gnus-search.el
@@ -1514,6 +1514,7 @@ Namazu provides a little more information, for instance a score."
(when (re-search-forward
"^\\([0-9,]+\\.\\).*\\((score: \\([0-9]+\\)\\))\n\\([^ ]+\\)"
nil t)
+ (forward-line 1)
(list (match-string 4)
(match-string 3))))