aboutsummaryrefslogtreecommitdiff
path: root/evil-types.el
diff options
context:
space:
mode:
authorTom Dalziel <33435574+tomdl89@users.noreply.github.com>2021-10-04 21:40:30 +0200
committerGitHub <noreply@github.com>2021-10-04 21:40:30 +0200
commitcb39d3dc9f0806366e8a37a61ff967fa329b78a2 (patch)
tree38b8e39e8b6fd48cbf75937f07647f5542e6624d /evil-types.el
parent82e5becae21b7768ffbb4728bce83dab8751d610 (diff)
Add evil-start-of-line, evil-ensure-column, and use them (#1524)
Diffstat (limited to 'evil-types.el')
-rw-r--r--evil-types.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/evil-types.el b/evil-types.el
index 22d01e8..c23fd59 100644
--- a/evil-types.el
+++ b/evil-types.el
@@ -342,13 +342,13 @@ If visual state is inactive then those values are nil."
:ex-arg t
(list (when (evil-ex-p) evil-ex-argument)))
-(evil-define-interactive-code "<N>" (prompt)
- "Prefix argument, ex-arg or minibuffer input, converted to number"
+(evil-define-interactive-code "<N>" ()
+ "Prefix argument or ex-arg, converted to number"
(list (cond
(current-prefix-arg (prefix-numeric-value current-prefix-arg))
((and evil-ex-argument (evil-ex-p)) (string-to-number evil-ex-argument))
((evil-ex-p) nil)
- (t (string-to-number (read-string prompt))))))
+ (t 1))))
(evil-define-interactive-code "<f>"
"Ex file argument."