branch: master
commit be06ae0f9c72f0a8daf8aa919e291ac44f9d2910
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
swiper.el: Add docstring
---
swiper.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/swiper.el b/swiper.el
index b52d0fe..6c22e48 100644
--- a/swiper.el
+++ b/swiper.el
@@ -317,7 +317,8 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
(declare-function string-trim-right "subr-x")
(defun swiper-occur (&optional revert)
- "Generate a custom occur buffer for `swiper'."
+ "Generate a custom occur buffer for `swiper'.
+When REVERT is non-nil, regenerate the current *ivy-occur* buffer."
(let* ((buffer (ivy-state-buffer ivy-last))
(fname (propertize
(with-ivy-window