branch: elpa/anzu
commit 686b264468da2b249e16fa3203b15134602a5cb3
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>
Refactoring: better getting migemo variable
---
anzu.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/anzu.el b/anzu.el
index 9ce0de230f..18055339a0 100644
--- a/anzu.el
+++ b/anzu.el
@@ -160,8 +160,7 @@
(when anzu-use-migemo
(unless (featurep 'migemo)
(error "Error: migemo is not loaded"))
- (and (boundp 'migemo-isearch-enable-p)
- (symbol-value 'migemo-isearch-enable-p))))
+ (bound-and-true-p migemo-isearch-enable-p)))
(defun anzu--search-all-position (str)
(unless anzu--last-command