about summary refs log tree commit diff
path: root/Src/Zle/zle_utils.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_utils.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_utils.c')
-rw-r--r--Src/Zle/zle_utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index b82e54ce5..61ae85c0b 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -1354,7 +1354,10 @@ handlesuffix(UNUSED(char **args))
 
 /* head of the undo list, and the current position */
 
-static struct change *changes, *curchange;
+/**/
+struct change *curchange;
+
+static struct change *changes;
 
 /* list of pending changes, not yet in the undo system */