emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/objed 72f1807 188/216: Use anzu if available


From: Stefan Monnier
Subject: [elpa] externals/objed 72f1807 188/216: Use anzu if available
Date: Tue, 8 Jan 2019 12:29:36 -0500 (EST)

branch: externals/objed
commit 72f1807f11205249951990ea29857a547ac05615
Author: Clemera <address@hidden>
Commit: Clemera <address@hidden>

    Use anzu if available
---
 objed.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/objed.el b/objed.el
index 450c22c..cf48c5a 100644
--- a/objed.el
+++ b/objed.el
@@ -2574,7 +2574,9 @@ c: capitalize."
       (goto-char (point-min))
       (hl-line-unhighlight)
       (deactivate-mark)
-      (call-interactively 'query-replace-regexp))))
+      (if (fboundp 'anzu-query-replace-regexp)
+          (call-interactively 'anzu-query-replace-regexp)
+      (call-interactively 'query-replace-regexp)))))
 
 
 ;; * Ipipe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]