Fix +evil:defun-txtobj docstring

This commit is contained in:
Oskar Kvist 2020-03-23 18:13:45 +01:00
parent 4b20c7206e
commit 427ed2bbc0

View file

@ -7,7 +7,8 @@
;;;###autoload (autoload '+evil:defun-txtobj "editor/evil/autoload/textobjects" nil nil)
(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)
(bounds-of-thing-at-point 'defun)
(evil-range beg end type)))