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: André Alexandre Gomes
Subject: bug#44358: 27.1; holidays.el
Date: Fri, 13 Nov 2020 09:21:27 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

"Basil L. Contovounesios" <contovob@tcd.ie> writes:

> 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.

I see.

> Try using :init or :custom instead.

:custom exhibits the same behaviour as with :config.  :init works great.

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

It can be closed.  Thank you.

--
André Alexandre Gomes
"Free Thought, Free World"





reply via email to

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