summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-05-14 20:39:17 +0300
committerEli Zaretskii <eliz@gnu.org>2016-05-14 20:39:17 +0300
commitbed76a80d518dfc64980d950963ebf01a956cc80 (patch)
treea9aec75c4d17bafab5328f56d5101a690714181a
parent91109821a2a190206d43db50605986e614b916f2 (diff)
Fix reading minibuffer input in viper-mode
* lisp/emulation/viper-cmd.el (viper-read-string-with-history): Restore an assignment to viper-initial that got lost when viper-cmd.el was switched to lexical-binding. (Bug#23536)
-rw-r--r--lisp/emulation/viper-cmd.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
index da72b97628..6951dbb708 100644
--- a/lisp/emulation/viper-cmd.el
+++ b/lisp/emulation/viper-cmd.el
@@ -2127,6 +2127,7 @@ problems."
(setq keymap (or keymap minibuffer-local-map)
initial (or initial "")
+ viper-initial initial
temp-msg (if default
(format "(default %s) " default)
""))