]> git.eshelyaron.com Git - emacs.git/commitdiff
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 72bedc69c3cf9e380ce4e304d94586fc6c1a2db4..e8eef541f275f46f7ec242fde533825d3d415a36 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