Fix +evil:defun-txtobj docstring
This commit is contained in:
parent
4b20c7206e
commit
427ed2bbc0
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@
|
||||||
|
|
||||||
;;;###autoload (autoload '+evil:defun-txtobj "editor/evil/autoload/textobjects" nil nil)
|
;;;###autoload (autoload '+evil:defun-txtobj "editor/evil/autoload/textobjects" nil nil)
|
||||||
(evil-define-text-object +evil:defun-txtobj (count &optional _beg _end type)
|
(evil-define-text-object +evil:defun-txtobj (count &optional _beg _end type)
|
||||||
"Text object to select the whole buffer."
|
"Text object to select the top-level Lisp form or function definition at
|
||||||
|
point."
|
||||||
(cl-destructuring-bind (beg . end)
|
(cl-destructuring-bind (beg . end)
|
||||||
(bounds-of-thing-at-point 'defun)
|
(bounds-of-thing-at-point 'defun)
|
||||||
(evil-range beg end type)))
|
(evil-range beg end type)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue