Nicolas Richard writes:
> that's because your (progn) is unquoted and thus evaluated at the same
> time as eval-after-load, i.e. it returns its last value (which is the
> second add-to-list form) and that is what is being added to the
> eval-after-load list. What you want is the whole (progn) ad
Julien Cubizolles writes:
> I tried the following:
> --8<---cut here---start->8---
> (eval-after-load 'ox-latex
> (progn '(add-to-list 'org-latex-classes
> '("mpsi_beamer" "\\documentclass{mpsi_beamer}\n
> [NO-DEFAULT-PACKAGES]"
>
How can I run several add-to-list after a given package is loaded ? I
could of course do multiples:
(eval-after-load 'package_name '(add-to-list 'element 'list))
but I'm sure there's a more elegant way.
I tried the following:
--8<---cut here---start->8---
(eva