[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41682: makefile-gmake-mode does not trigger "eval-after-load"'s hook
From: |
Basil L. Contovounesios |
Subject: |
bug#41682: makefile-gmake-mode does not trigger "eval-after-load"'s hooks |
Date: |
Sat, 06 Jun 2020 23:26:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Konstantin Kharlamov <hi-angel@yandex.ru> writes:
> Thank you, I migrated my emacs config to use the `with-eval-after-load`
> you suggested, but stumbled upon a problem that it doesn't seem to work
> with python-mode. I tried as an argument `'python`, `'python-mode`,
> ``python.el`, `"python"`, `"python.el"` — none of that works for me.
> The code I'm trying to execute is simply:
>
> (with-eval-after-load 'python
> '(modify-syntax-entry ?_ "w" python-mode-syntax-table))
>
> Simply removing the "with-" makes it work. Is there anything special
> about this macro I should know?
Yes, its BODY should not be quoted:
(with-eval-after-load 'python
(modify-syntax-entry ?_ "w" python-mode-syntax-table))
--
Basil