unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: "André Alexandre Gomes" <andremegafone@gmail.com>
Cc: Glenn Morris <rgm@gnu.org>, 44358@debbugs.gnu.org
Subject: bug#44358: 27.1; holidays.el
Date: Thu, 12 Nov 2020 19:48:18 +0000	[thread overview]
Message-ID: <871rgyqrul.fsf@tcd.ie> (raw)
In-Reply-To: <87361f9jhv.fsf@gmail.com> ("André Alexandre Gomes"'s message of "Thu, 12 Nov 2020 09:28:28 +0300")

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	other threads:[~2020-11-12 19:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-31 19:27 bug#44358: 27.1; holidays.el André Alexandre Gomes
2020-10-31 23:15 ` Glenn Morris
2020-11-02 13:31   ` André Alexandre Gomes
2020-11-09 13:06     ` André Alexandre Gomes
2020-11-11 21:15       ` Glenn Morris
2020-11-12  6:28         ` André Alexandre Gomes
2020-11-12 19:48           ` Basil L. Contovounesios [this message]
2020-11-13  6:21             ` André Alexandre Gomes
2020-11-13 11:57               ` Basil L. Contovounesios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rgyqrul.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=44358@debbugs.gnu.org \
    --cc=andremegafone@gmail.com \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).