|
From: | Juri Linkov |
Subject: | bug#38457: 27.0.50; dabbrev-expand regression due to message change |
Date: | Sun, 22 Dec 2019 00:03:51 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
> Here's something that's a matter of taste, but: > >> + (setq message (if (string-match-p "\\` *\\[.+\\]\\'" message) >> + ;; Make sure we can put-text-property. >> + (copy-sequence message) >> + (concat " [" message "]"))) > > I prefer how it looks without an extra space here. Meaning > > (concat "[" message "]") > > instead of > > (concat " [" message "]") > > . Apparently minibuffer contents always end with a space already? For compatibility with minibuffer-message this code was copied from minibuffer-message. And indeed there is only one space between the minibuffer contents and the message. If you see two spaces, maybe this is due to misconfiguration?
[Prev in Thread] | Current Thread | [Next in Thread] |