summary refs log tree commit diff
path: root/Functions/Zle
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2004-07-12 04:00:29 +0000
committerBart Schaefer <barts@users.sourceforge.net>2004-07-12 04:00:29 +0000
commitdef0167e34a276bbcf6e1e63435dd77a79b12b18 (patch)
tree125e9dbf5ffd229e748c9b22da5e357f259bcbc6 /Functions/Zle
parent86ae90bc1c2866b1b10a326d4cdbdb8b02a9f9a9 (diff)
downloadzsh-def0167e34a276bbcf6e1e63435dd77a79b12b18.tar.gz
zsh-def0167e34a276bbcf6e1e63435dd77a79b12b18.tar.xz
zsh-def0167e34a276bbcf6e1e63435dd77a79b12b18.zip
20145: Additional arguments to read-from-minibuffer specify initial values
of LBUFFER and RBUFFER.
Diffstat (limited to 'Functions/Zle')
-rw-r--r--Functions/Zle/read-from-minibuffer4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Zle/read-from-minibuffer b/Functions/Zle/read-from-minibuffer
index 6af7f2a39..c3848ae9f 100644
--- a/Functions/Zle/read-from-minibuffer
+++ b/Functions/Zle/read-from-minibuffer
@@ -20,8 +20,8 @@ done
 local savelbuffer=$LBUFFER saverbuffer=$RBUFFER
 local savepredisplay=$PREDISPLAY savepostdisplay=$POSTDISPLAY
 
-LBUFFER=
-RBUFFER=
+LBUFFER="$2"
+RBUFFER="$3"
 PREDISPLAY="$PREDISPLAY$savelbuffer$saverbuffer$POSTDISPLAY
 ${1:-? }"
 POSTDISPLAY=