[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Elpa Theme (ahungry-theme) - should I add code to auto load-them
From: |
Ivan Shmakov |
Subject: |
Re: GNU Elpa Theme (ahungry-theme) - should I add code to auto load-theme it? |
Date: |
Thu, 05 Feb 2015 19:31:23 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> Matthew Carter <address@hidden> writes:
>>>>> Artur Malabarba <address@hidden> writes:
[…]
>> Users should be able to have multiple themes installed without them
>> all turning on simultaneously.
>> I do agree with need a more intuitive theming experience for new
>> users, but that's a whole other topic.
> When investigating further (and testing with a fresh emacs install) I
> have found that the theme loads without requiring any calls to
> load-theme or modifying the theme load path when installed via ELPA
> by including a simple:
> (require 'ahungry-theme)
> In the init file, so upon reconsideration I'll probably avoid adding
> any further autoload functionality in the theme code.
How is that better than, say, (load-theme 'ahungry t)?
> The fact that the theme becomes active upon a require isn't
> unintended functionality is it?
> Maybe I'll just update the meta description shown on list-packages
> from:
> "Ahungry color theme for Emacs."
> to
> "Ahungry color theme for Emacs - just (require 'ahungry-theme) to
> load."
You can refer to load-theme there just as well, I guess.
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A
Re: GNU Elpa Theme (ahungry-theme) - should I add code to auto load-theme it?,
Ivan Shmakov <=