Subject: bug#380: previous-matching-history-element beef up

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 13 Oct 2019 07:15:03 +0200

Stefan Monnier <[email-masked]> writes:

>> And when one does hit that second M-r, it would be nice if the prompt
>> would show what the current default search string is. All it ever says is
>> "Previous element matching (regexp): " though indeed it remembers a
>> default all the time at least after first use.
>
> Indeed, it should probably use the " (default <foo>)" convention.
> But maybe that would be impractical because the prompt would then be
> too long.

It's a bit on the long side, but I think it helps usability a lot, so
I've made this change on the trunk now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no