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: Alex Kost
Subject: Re: A package for common configuration options with use-package
Date: Thu, 09 Mar 2017 16:18:51 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

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" ...)?

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

-- 
Alex



reply via email to

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