help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: What is special about the minibuffer in regard to font locking?


From: ndame
Subject: Re: What is special about the minibuffer in regard to font locking?
Date: Sun, 23 Jan 2022 17:56:33 +0000

> And lo! If you go to eval-expression, paste this code
> into the prompt:

Turns out it doesn't work with emacs -Q. It only worked
for me, because I commented out the part in my emacs
which prevents it working from the minibuffer:

  (when (or noninteractive (eq (aref (buffer-name) 0) ?\s))
    (setq font-lock-mode nil))

So it's not just a matter of adding a function to minibuffer
set up hook.

The C-g stops working problem still occurs with -Q, though,
if I change the major mode of the minibuffer to elisp mode.




reply via email to

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