Add doctstrings to +evil/fold-* commands

This commit is contained in:
Henrik Lissner
2018-09-23 21:06:45 -04:00
parent 8c4504380f
commit 3dbeb4e3a7

View File

@ -38,6 +38,9 @@
;;;###autoload
(defun +evil/fold-toggle ()
"Toggle the fold at point.
Targets `vimmish-fold', `hideshow' and `outline' folds."
(interactive)
(save-excursion
(cond ((+evil--vimish-fold-p) (vimish-fold-toggle))
@ -49,6 +52,9 @@
;;;###autoload
(defun +evil/fold-open ()
"Open the folded region at point.
Targets `vimmish-fold', `hideshow' and `outline' folds."
(interactive)
(save-excursion
(cond ((+evil--vimish-fold-p) (vimish-fold-unfold))
@ -59,6 +65,9 @@
;;;###autoload
(defun +evil/fold-close ()
"Close the folded region at point.
Targets `vimmish-fold', `hideshow' and `outline' folds."
(interactive)
(save-excursion
(cond ((+evil--vimish-fold-p) (vimish-fold-refold))