aboutsummaryrefslogtreecommitdiff
path: root/evil-ex.el
diff options
context:
space:
mode:
Diffstat (limited to 'evil-ex.el')
-rw-r--r--evil-ex.el10
1 files changed, 2 insertions, 8 deletions
diff --git a/evil-ex.el b/evil-ex.el
index 902e26d..894d8c1 100644
--- a/evil-ex.el
+++ b/evil-ex.el
@@ -826,14 +826,8 @@ Returns the line number of the match."
NUMBER defaults to 1."
(funcall sign (or number 1)))
-(defun evil-ex-eval (string &optional start)
- "Evaluate STRING as an Ex command.
-START is the start symbol, which defaults to `expression'."
- ;; disable the mark before executing, otherwise the visual region
- ;; may be used as operator range instead of the ex-range
- (let ((form (evil-ex-parse string nil start))
- transient-mark-mode deactivate-mark)
- (eval form)))
+;; function `evil-ex-eval' has been superseded by `evil-ex-parse' plus `eval'
+(make-obsolete 'evil-ex-eval 'evil-ex-parse "1.2.14")
(defun evil-ex-parse (string &optional syntax start)
"Parse STRING as an Ex expression and return an evaluation tree.