diff options
| author | Stefan Monnier | 2012-08-14 17:48:52 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-08-14 17:48:52 -0400 |
| commit | b4f5e9df77f42a033b64c2be00a4c6ca7bcf0c58 (patch) | |
| tree | 20047538761891afbe857a1874ab75de396ec99b | |
| parent | fecbd8ff09483df59e238d1c950b825e14d78f6c (diff) | |
| download | emacs-b4f5e9df77f42a033b64c2be00a4c6ca7bcf0c58.tar.gz emacs-b4f5e9df77f42a033b64c2be00a4c6ca7bcf0c58.zip | |
* lisp/subr.el (read-passwd): Allow use from a minibuffer.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/subr.el | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 83ac7fa86ef..ddbb1c2d3df 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * subr.el (read-passwd): Allow use from a minibuffer. | ||
| 4 | |||
| 1 | 2012-08-14 Eli Zaretskii <eliz@gnu.org> | 5 | 2012-08-14 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * tooltip.el (tooltip-identifier-from-point): Don't treat tokens | 7 | * tooltip.el (tooltip-identifier-from-point): Don't treat tokens |
| @@ -13,8 +17,8 @@ | |||
| 13 | * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error | 17 | * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error |
| 14 | messages from GDB, pop them up in a tooltip to give feedback to | 18 | messages from GDB, pop them up in a tooltip to give feedback to |
| 15 | user. | 19 | user. |
| 16 | (gdb-tooltip-print-1): Quote the expression to evaluate. This | 20 | (gdb-tooltip-print-1): Quote the expression to evaluate. |
| 17 | allows to evaluate expressions with embedded whitespace. | 21 | This allows to evaluate expressions with embedded whitespace. |
| 18 | (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command | 22 | (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command |
| 19 | if the TTY name is nil or empty (which happens when communicating | 23 | if the TTY name is nil or empty (which happens when communicating |
| 20 | with the inferior via pipes, e.g. on MS-Windows). | 24 | with the inferior via pipes, e.g. on MS-Windows). |
diff --git a/lisp/subr.el b/lisp/subr.el index 4f566a3e1d3..04ff81e997a 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -2182,7 +2182,8 @@ by doing (clear-string STRING)." | |||
| 2182 | (set (make-local-variable 'post-self-insert-hook) nil) | 2182 | (set (make-local-variable 'post-self-insert-hook) nil) |
| 2183 | (add-hook 'after-change-functions hide-chars-fun nil 'local)) | 2183 | (add-hook 'after-change-functions hide-chars-fun nil 'local)) |
| 2184 | (unwind-protect | 2184 | (unwind-protect |
| 2185 | (read-string prompt nil t default) ; t = "no history" | 2185 | (let ((enable-recursive-minibuffers t)) |
| 2186 | (read-string prompt nil t default)) ; t = "no history" | ||
| 2186 | (when (buffer-live-p minibuf) | 2187 | (when (buffer-live-p minibuf) |
| 2187 | (with-current-buffer minibuf | 2188 | (with-current-buffer minibuf |
| 2188 | ;; Not sure why but it seems that there might be cases where the | 2189 | ;; Not sure why but it seems that there might be cases where the |