emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2862f6b: Fix up eldef shortening of the minibuffer


From: Lars Ingebrigtsen
Subject: master 2862f6b: Fix up eldef shortening of the minibuffer
Date: Fri, 11 Sep 2020 08:52:34 -0400 (EDT)

branch: master
commit 2862f6b2bf92c9469132283fd9d2abb72c1ae45e
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 lisp/minibuf-eldef.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/minibuf-eldef.el b/lisp/minibuf-eldef.el
index a32d21a..6cd8580 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]"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]