branch: elpa/anzu
commit ef39357f0afde0d66d55217d45fe2f0841a9eb3b
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>
Use variable instead of function call
---
anzu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anzu.el b/anzu.el
index 338525c13f..924a3fb430 100644
--- a/anzu.el
+++ b/anzu.el
@@ -384,7 +384,7 @@
(get-text-property (match-beginning 0) 'separator
content))
(substring-no-properties content (match-end 0))))
(from (or (and to (substring-no-properties content 0 (match-beginning
0)))
- (minibuffer-contents)))
+ content))
(empty-p (string= from ""))
(overlayed (if empty-p
(setq anzu--cached-count 0)