branch: elpa/anzu
commit 630d663238798e22ecac060eec636d6a6a03a5df
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>

    Fix invalid return type
    
    'anzu--query-from-at-curso'r should return regexp not string
---
 anzu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/anzu.el b/anzu.el
index d79f980100..1b595d181c 100644
--- a/anzu.el
+++ b/anzu.el
@@ -463,7 +463,7 @@
       (setq anzu--total-matched
             (anzu--count-matched buf symbol-regexp beg end t overlay-limit))
       (force-mode-line-update)
-      symbol)))
+      symbol-regexp)))
 
 (defun anzu--thing-begin (thing)
   (let ((bound (bounds-of-thing-at-point thing)))

Reply via email to