about summary refs log tree commit diff
path: root/Src/Zle/zle_tricky.c
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2014-01-31 14:01:12 +0100
committerOliver Kiddle <okiddle@yahoo.co.uk>2014-01-31 14:03:47 +0100
commita8c4ed64ee684227c0dd3142e912f7faca8bd1fb (patch)
treedc5796a80d8476315a908c2556d5c6cd43fcba0b /Src/Zle/zle_tricky.c
parent779ad93490f03e0759c065618a3267d2e6f07b84 (diff)
downloadzsh-a8c4ed64ee684227c0dd3142e912f7faca8bd1fb.tar.gz
zsh-a8c4ed64ee684227c0dd3142e912f7faca8bd1fb.tar.xz
zsh-a8c4ed64ee684227c0dd3142e912f7faca8bd1fb.zip
32314: merge undo events corresponding to vi change in the vi-cmd-mode widget so undo from insert mode is useful again
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r--Src/Zle/zle_tricky.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index 9d163ad9e..2689d0fa1 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -611,8 +611,7 @@ docomplete(int lst)
     active = 1;
     comprecursive = 0;
     makecommaspecial(0);
-    if (undoing)
-	setlastline();
+    setlastline();
 
     /* From the C-code's point of view, we can only use compctl as a default
      * type of completion. Load it if it hasn't been loaded already and