diff options
| author | Vasilij Schneidermann <mail@vasilij.de> | 2020-10-08 12:59:41 +0200 |
|---|---|---|
| committer | Vasilij Schneidermann <mail@vasilij.de> | 2020-10-08 12:59:41 +0200 |
| commit | 23685ed850d051165beeccbdd08eca628dce436d (patch) | |
| tree | 8963a437614c16eb088293b2903eb2038d56833c | |
| parent | d8d1eca5d9eec3f4ab1b14a554d79ff098d77c1e (diff) | |
Error out on read-only buffers
| -rw-r--r-- | evil-commands.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/evil-commands.el b/evil-commands.el index 92b8b3e..26c464b 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -1623,12 +1623,12 @@ of the block." (evil-define-command evil-undo (count) "Undo COUNT changes in buffer using `evil-undo-function'." - (interactive "p") + (interactive "*p") (funcall evil-undo-function count)) (evil-define-command evil-redo (count) "Undo COUNT changes in buffer using `evil-redo-function'." - (interactive "p") + (interactive "*p") (funcall evil-redo-function count)) (evil-define-operator evil-substitute (beg end type register) |
