mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
* minibuf-eldef.el (minibuffer-default--in-prompt-regexps): Handle
"foo (bar, default: xxx): " prompts.
This commit is contained in:
parent
1e8a045abd
commit
2f108463fa
2 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue