aboutsummaryrefslogtreecommitdiff
path: root/evil-ex.el
diff options
context:
space:
mode:
authorNathaniel Nicandro <nathanielnicandro@gmail.com>2018-09-24 10:43:06 -0500
committerEivind Fonn <evfonn@gmail.com>2019-11-19 16:36:19 +0100
commite9b16b744a14c1dab38f958831e3cb1b850f2263 (patch)
treeccef3fcf732e0951b28ba9417026bfec20acf0d1 /evil-ex.el
parentb1fbbf5cbe60b2cfcd2514cf0c94c335d29cc05b (diff)
Fix `evil-ex` called with a current line prefix
Diffstat (limited to 'evil-ex.el')
-rw-r--r--evil-ex.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-ex.el b/evil-ex.el
index 95357ee..0c0be67 100644
--- a/evil-ex.el
+++ b/evil-ex.el
@@ -170,7 +170,7 @@ is appended to the line."
(let ((arg (prefix-numeric-value current-prefix-arg)))
(cond ((< arg 0) (setq arg (1+ arg)))
((> arg 0) (setq arg (1- arg))))
- (if (= arg 0) '(".")
+ (if (= arg 0) "."
(format ".,.%+d" arg)))))
evil-ex-initial-input)))
(and (> (length s) 0) s))))