aboutsummaryrefslogtreecommitdiff
path: root/evil-common.el
diff options
context:
space:
mode:
authorMichael Walker <mike@barrucadu.co.uk>2017-10-15 15:33:15 +0100
committerMichael Walker <mike@barrucadu.co.uk>2017-10-15 15:33:15 +0100
commit5af3d08251d26efc7db23a21d99b2a5662d1ea47 (patch)
treeb655f9d4d859461e36f833e5168c52eb8a4501b3 /evil-common.el
parent53ebb9d1482fef8f25e4e1dd1d640128ec6a99b5 (diff)
Remove reference to missing arguments FORWARD and BACKWARD from doc
Diffstat (limited to 'evil-common.el')
-rw-r--r--evil-common.el20
1 files changed, 8 insertions, 12 deletions
diff --git a/evil-common.el b/evil-common.el
index 292e4fe..1c94a20 100644
--- a/evil-common.el
+++ b/evil-common.el
@@ -2946,12 +2946,10 @@ This can be overridden with TYPE."
(defun evil-select-inner-object (thing beg end type &optional count line)
"Return an inner text object range of COUNT objects.
If COUNT is positive, return objects following point; if COUNT is
-negative, return objects preceding point. FORWARD is a function
-which moves to the end of an object, and BACKWARD is a function
-which moves to the beginning. If one is unspecified, the other
-is used with a negative argument. THING is a symbol understood
-by thing-at-point. BEG, END and TYPE specify the current
-selection. If LINE is non-nil, the text object should be
+negative, return objects preceding point. If one is unspecified,
+the other is used with a negative argument. THING is a symbol
+understood by thing-at-point. BEG, END and TYPE specify the
+current selection. If LINE is non-nil, the text object should be
linewise, otherwise it is character wise."
(let* ((count (or count 1))
(bnd (or (let ((b (bounds-of-thing-at-point thing)))
@@ -2978,12 +2976,10 @@ linewise, otherwise it is character wise."
(defun evil-select-an-object (thing beg end type count &optional line)
"Return an outer text object range of COUNT objects.
If COUNT is positive, return objects following point; if COUNT is
-negative, return objects preceding point. FORWARD is a function
-which moves to the end of an object, and BACKWARD is a function
-which moves to the beginning. If one is unspecified, the other
-is used with a negative argument. THING is a symbol understood
-by thing-at-point. BEG, END and TYPE specify the current
-selection. If LINE is non-nil, the text object should be
+negative, return objects preceding point. If one is unspecified,
+the other is used with a negative argument. THING is a symbol
+understood by thing-at-point. BEG, END and TYPE specify the
+current selection. If LINE is non-nil, the text object should be
linewise, otherwise it is character wise."
(let* ((dir (if (> (or count 1) 0) +1 -1))
(count (abs (or count 1)))