diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Functions/Zle/edit-command-line | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 4e43c092b..a93b07381 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-03-16 Frank Terbeck <ft@bewatermyfriend.org> + + * 28896: Functions/Zle/edit-command-line: unset `monitor' option + while the widget is running to avoid accidential data loss. + 2011-03-16 Peter Stephenson <pws@csr.com> * Mikael: users/15875: Completion/Unix/Command/_gpg: use return @@ -14342,5 +14347,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5223 $ +* $Revision: 1.5224 $ ***************************************************** diff --git a/Functions/Zle/edit-command-line b/Functions/Zle/edit-command-line index 250cac65f..efcc4b957 100644 --- a/Functions/Zle/edit-command-line +++ b/Functions/Zle/edit-command-line @@ -6,6 +6,8 @@ # will give ksh-like behaviour for that key, # except that it will handle multi-line buffers properly. +setopt local_options no_monitor + local tmpfile=${TMPPREFIX:-/tmp/zsh}ecl$$ print -R - "$PREBUFFER$BUFFER" >$tmpfile |