File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -147,12 +147,13 @@ commands opening a new line."
147147 " Called when Insert or Replace state is about to be exited.
148148Handles the repeat-count of the insertion command."
149149 (when evil-insert-count
150- (dotimes (_ (1- evil-insert-count))
151- (when evil-insert-lines
152- (evil-insert-newline-below)
153- (when evil-auto-indent
154- (indent-according-to-mode )))
155- (evil-execute-repeat-info (cdr evil-insert-repeat-info))))
150+ (let (pre-command-hook post-command-hook)
151+ (dotimes (_ (1- evil-insert-count))
152+ (when evil-insert-lines
153+ (evil-insert-newline-below)
154+ (when evil-auto-indent
155+ (indent-according-to-mode )))
156+ (evil-execute-repeat-info (cdr evil-insert-repeat-info)))))
156157 (when evil-insert-vcount
157158 (let ((buffer-invisibility-spec
158159 (if (listp buffer-invisibility-spec)
You can’t perform that action at this time.
0 commit comments