* Can't remove holidays
@ 2017-11-21 17:45 John Martin
2017-11-21 18:21 ` Teemu Likonen
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: John Martin @ 2017-11-21 17:45 UTC (permalink / raw)
To: help-gnu-emacs
I have the following in my .emacs file in order not to show US holidays
(setq holiday-general-holidays nil)
(setq general-holidays nil)
I should probably only need one of the above lines but I'm not sure which.
Neither line works, I still see US holidays.
The following lines come from the holidays.el.gz file and appears
to describe my problem however I don't know how to correct it,
how do I tell what's being autoloaded?
------------------------------------------------------------------------
;; This one should not be autoloaded, else .emacs changes of
;; holiday-general-holidays etc have no effect.
;; FIXME should have some :set-after.
(defcustom calendar-holidays
(append holiday-general-holidays holiday-local-holidays
holiday-other-holidays holiday-christian-holidays
holiday-hebrew-holidays holiday-islamic-holidays
holiday-bahai-holidays holiday-oriental-holidays
holiday-solar-holidays)
------------------------------------------------------------------------
Presumably I shouldn't be touching the files in the emacs distro,
any ideas what I'm doing wrong?
--
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can't remove holidays
2017-11-21 17:45 Can't remove holidays John Martin
@ 2017-11-21 18:21 ` Teemu Likonen
[not found] ` <mailman.4259.1511288490.27995.help-gnu-emacs@gnu.org>
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Teemu Likonen @ 2017-11-21 18:21 UTC (permalink / raw)
To: John Martin; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 697 bytes --]
John Martin [2017-11-21 17:45:53Z] wrote:
> The following lines come from the holidays.el.gz file and appears to
> describe my problem however I don't know how to correct it, how do I
> tell what's being autoloaded?
> (defcustom calendar-holidays
> (append holiday-general-holidays holiday-local-holidays [...]
> Presumably I shouldn't be touching the files in the emacs distro, any
> ideas what I'm doing wrong?
You can set calendar-holidays directly in your init files. Use value
nil, for example, or append your preferred holiday variables.
--
/// Teemu Likonen - .-.. <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.4259.1511288490.27995.help-gnu-emacs@gnu.org>]
* Re: Can't remove holidays
[not found] ` <mailman.4259.1511288490.27995.help-gnu-emacs@gnu.org>
@ 2017-11-21 19:15 ` John Martin
0 siblings, 0 replies; 5+ messages in thread
From: John Martin @ 2017-11-21 19:15 UTC (permalink / raw)
To: help-gnu-emacs
On 2017-11-21, Teemu Likonen <tlikonen@iki.fi> wrote:
> --=-=-=
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
>
> John Martin [2017-11-21 17:45:53Z] wrote:
>
>> The following lines come from the holidays.el.gz file and appears to
>> describe my problem however I don't know how to correct it, how do I
>> tell what's being autoloaded?
>
>> (defcustom calendar-holidays
>> (append holiday-general-holidays holiday-local-holidays [...]
>
>> Presumably I shouldn't be touching the files in the emacs distro, any
>> ideas what I'm doing wrong?
>
> You can set calendar-holidays directly in your init files. Use value
> nil, for example, or append your preferred holiday variables.
>
Thanks Teemu, I'm trying to remove holidays not add them
--
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can't remove holidays
2017-11-21 17:45 Can't remove holidays John Martin
2017-11-21 18:21 ` Teemu Likonen
[not found] ` <mailman.4259.1511288490.27995.help-gnu-emacs@gnu.org>
@ 2017-11-21 21:38 ` Michael Heerdegen
[not found] ` <mailman.4278.1511300318.27995.help-gnu-emacs@gnu.org>
3 siblings, 0 replies; 5+ messages in thread
From: Michael Heerdegen @ 2017-11-21 21:38 UTC (permalink / raw)
Cc: help-gnu-emacs, John Martin
John Martin <johnmartin99@invalid.tt.net> writes:
> I have the following in my .emacs file in order not to show US holidays
>
> (setq holiday-general-holidays nil)
> (setq general-holidays nil)
Maybe you are doing these setq's after `calendar-holidays' already has
been defined?
Michael.
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.4278.1511300318.27995.help-gnu-emacs@gnu.org>]
end of thread, other threads:[~2017-11-21 23:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-21 17:45 Can't remove holidays John Martin
2017-11-21 18:21 ` Teemu Likonen
[not found] ` <mailman.4259.1511288490.27995.help-gnu-emacs@gnu.org>
2017-11-21 19:15 ` John Martin
2017-11-21 21:38 ` Michael Heerdegen
[not found] ` <mailman.4278.1511300318.27995.help-gnu-emacs@gnu.org>
2017-11-21 23:31 ` John Martin
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).