diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-11 14:52:25 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-11 14:52:25 +0200 |
commit | 2862f6b2bf92c9469132283fd9d2abb72c1ae45e (patch) | |
tree | e74ec0ff8753288d808aa5cfd1a8d7125982a29e /lisp/minibuf-eldef.el | |
parent | 8d9133c6027512738f313d3342b7b6e9dc68ddd0 (diff) | |
download | emacs-2862f6b2bf92c9469132283fd9d2abb72c1ae45e.tar.gz |
Fix up eldef shortening of the minibuffer
* lisp/minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
Don't include the ": " bit in the portion to be replaced
(bug#12443).
Diffstat (limited to 'lisp/minibuf-eldef.el')
-rw-r--r-- | lisp/minibuf-eldef.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/minibuf-eldef.el b/lisp/minibuf-eldef.el index a32d21abb30..6cd858093cd 100644 --- a/lisp/minibuf-eldef.el +++ b/lisp/minibuf-eldef.el @@ -48,7 +48,7 @@ (regexp-quote (substring minibuffer-default-prompt-format (match-end 0)))) (regexp-quote minibuffer-default-prompt-format)) - ": *\\)") + "\\): ") 1) `(("\\( (default\\(?: is\\)? \\(.*\\))\\):? \\'" 1 ,(if minibuffer-eldef-shorten-default " [\\2]")) |