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

[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: Konstantin Kharlamov
Subject: bug#41682: makefile-gmake-mode does not trigger "eval-after-load"'s hooks
Date: Sun, 07 Jun 2020 01:36:18 +0300
User-agent: Evolution 3.36.3

Thank you!

On Sat, 2020-06-06 at 23:26 +0100, Basil L. Contovounesios wrote:
> 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))







reply via email to

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