Fix previous read-passwd change
authorGlenn Morris <rgm@gnu.org>
Sat, 6 Oct 2012 16:59:01 +0000 (09:59 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 6 Oct 2012 16:59:01 +0000 (09:59 -0700)
lisp/subr.el

index 72bedc6..e8eef54 100644 (file)
@@ -2183,8 +2183,9 @@ by doing (clear-string STRING)."
             (add-hook 'after-change-functions hide-chars-fun nil 'local))
         (unwind-protect
             (let ((enable-recursive-minibuffers t)
-                 (map minibuffer-local-map)
+                 (map (make-sparse-keymap))
                  result)
+             (set-keymap-parent map minibuffer-local-map)
              (define-key map "\C-u"    ; bug#12570
                (lambda () (interactive) (delete-minibuffer-contents)))
              (setq result