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

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

Re: A package for common configuration options with use-package


From: Narendra Joshi
Subject: Re: A package for common configuration options with use-package
Date: Sat, 11 Mar 2017 01:57:32 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Alex Kost <alezost@gmail.com> writes:

> Narendra Joshi (2017-03-08 01:08 +0530) wrote:
>
>> Alex Kost <alezost@gmail.com> writes:
>>
>>> Narendra Joshi (2017-03-07 22:25 +0530) wrote:
>>>
>>>> Hi,
>>>>
>>>> I have started organizing my Emacs configuration with `use-package'. I
>>>> like to keep everything inside some or the other `use-package'
>>>> declaration. How do you deal with configuration that is in an Elisp file
>>>> that doesn't `provide` any symbol.
>>>
>>> IIRC, you can use (use-package "foo" ...), where "foo.el" is the file
>>> that does not provide a feature.
>>
>> Sadly
>> (use-package startup
>>   ...)
>> didn't work for me.
>
> I told about (use-package "foo" ...) not (use-package foo ...).  Did you
> try (use-package "startup" ...)?
No, I hadn't tried (use-package "foo"). I will try it thanks. :)

>> The only way I think I can do this is to create empty Elisp files that
>> provide some feature.
>
> This looks like a redundant complication for me.  I agree with Kaushal,
> that you can simply use:
>
>   (setq inhibit-startup-message t)
>
> without touching use-package at all.
Now, that I have moved most of my configuration into `use-package'
declarations, I agree with you and Kaushal to some extent.

-- 
Narendra Joshi



reply via email to

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