Subject: bug#38317: Buffer-local variables don't work as history for read-from-minibuffer

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 23 Nov 2019 12:54:38 +0100

martin rudalics <[email-masked]> writes:

>> There doesn't seem to be any way to tell read_minibuf what buffer it
>> should be looking at to get at the buffer-local value?
>
> The one from the buffer of 'minibuffer-selected-window'?

Unconditionally looking at that buffer wouldn't work, I think?  Because
you may genuinely have a buffer-local version of the variable in the
minibuffer?  Or is that unlikely?

I guess that's quite unlikely.

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