branch: elpa/anzu
commit d257c79a7a852fb67c7358db94621c35ca82dab7
Merge: 722ed9a52c da766073d4
Author: Syohei YOSHIDA <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #85 from syohex/add-docstrings
Add docstrings for all commands
---
anzu.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/anzu.el b/anzu.el
index 9fd97d0750..a8ac706df3 100644
--- a/anzu.el
+++ b/anzu.el
@@ -789,26 +789,31 @@
;;;###autoload
(defun anzu-query-replace-at-cursor ()
+ "Replace symbol at cursor with to-string."
(interactive)
(anzu--query-replace-common t :at-cursor t))
;;;###autoload
(defun anzu-query-replace-at-cursor-thing ()
+ "Replace symbol at cursor within `anzu-replace-at-cursor-thing' area."
(interactive)
(anzu--query-replace-common t :at-cursor t :thing
anzu-replace-at-cursor-thing))
;;;###autoload
(defun anzu-query-replace (arg)
+ "anzu version of `query-replace'."
(interactive "p")
(anzu--query-replace-common nil :prefix-arg arg))
;;;###autoload
(defun anzu-query-replace-regexp (arg)
+ "anzu version of `query-replace-regexp'."
(interactive "p")
(anzu--query-replace-common t :prefix-arg arg))
;;;###autoload
(defun anzu-replace-at-cursor-thing ()
+ "anzu-query-replace-at-cursor-thing without query."
(interactive)
(let ((orig (point-marker)))
(anzu--query-replace-common t
@@ -836,11 +841,13 @@
;;;###autoload
(defun anzu-isearch-query-replace (arg)
+ "anzu version of `isearch-query-replace'."
(interactive "p")
(anzu--isearch-query-replace-common nil arg))
;;;###autoload
(defun anzu-isearch-query-replace-regexp (arg)
+ "anzu version of `isearch-query-replace-regexp'."
(interactive "p")
(anzu--isearch-query-replace-common t arg))