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

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

bug#44358: 27.1; holidays.el


From: Basil L. Contovounesios
Subject: bug#44358: 27.1; holidays.el
Date: Thu, 12 Nov 2020 19:48:18 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

André Alexandre Gomes <andremegafone@gmail.com> writes:

> I'm sure why, but the following
>
> (use-package holidays
>   :config
>   (setq holiday-general-holidays '((holiday-fixed 1 1 "Special Day"))))
>
> isn't equivalent to:
>
> (setq holiday-general-holidays '((holiday-fixed 1 1 "Special Day")))

That is because (use-package X :config Y)
translates to (with-eval-after-load 'X Y),
i.e. Y gets evaluated only after X is loaded.

Try using :init or :custom instead.

Is there something left to solve here, or can this bug report be closed?

Thanks,

-- 
Basil





reply via email to

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