Commit 2f108463 authored by Christopher Schmidt's avatar Christopher Schmidt
Browse files

* minibuf-eldef.el (minibuffer-default--in-prompt-regexps): Handle

"foo (bar, default: xxx): " prompts.
parent 1e8a045a
2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
* minibuf-eldef.el (minibuffer-default--in-prompt-regexps): Handle
"foo (bar, default: xxx): " prompts.
2013-02-10 Chong Yidong <cyd@gnu.org>
 
* files.el (basic-save-buffer-1): Do not set
......
......@@ -38,6 +38,7 @@
(defun minibuffer-default--in-prompt-regexps ()
`(("\\( (default\\(?: is\\)? \\(.*\\))\\):? \\'"
1 ,(if minibuffer-eldef-shorten-default " [\\2]"))
("([^(]+?\\(, default\\(?: is\\)? \\(.*\\)\\)):? \\'" 1)
("\\( \\[.*\\]\\):? *\\'" 1)))
(defcustom minibuffer-eldef-shorten-default nil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment