[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 2b3f3d421a: Make minibuffer lazy highlight setup buffer-local
From: |
Stefan Monnier |
Subject: |
Re: master 2b3f3d421a: Make minibuffer lazy highlight setup buffer-local where appropriate |
Date: |
Sun, 22 May 2022 10:40:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>> How 'bout the patch below?
> Alas, it even breaks exiting the minibuffer directly from the minibuffer.
>> - record_unwind_protect_void (run_exit_minibuf_hook);
>> + record_unwind_protect (run_exit_minibuf_hook, Fcurrent_buffer ());
> After a little debugging I see that everything is fixed after replacing
> 'Fcurrent_buffer ()' with 'minibuffer':
> record_unwind_protect (run_exit_minibuf_hook, minibuffer);
Duh, indeed, I misread the code, thanks for doing my debugging for me.
Pushed to `master`.
Stefan