[Top][All Lists]

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

Re: use-package

From: Uwe Brauer
Subject: Re: use-package
Date: Tue, 03 May 2016 10:47:17 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux)

    > This probably has nothing to do with use-package. You can have a
    > mix of (use-package ..) and (require ..) forms.

    > I use use-package for all my packages. But I also `require' files
    > like setup-personal.el (which have a (provide 'setup-personal)),
    > which I do not commit to github.


    > Example use:

    > (require 'setup-personal nil :noerror)

    > If a setup-personal.el (with the right provide) is found in the
    > load-path, it will be required, else nothing will happen (no
    > errors).

    > Then, within the setup-personal.el, I would be having use-package
    > forms if any.

Thanks. Just one question, for example my emacs_keys file contains stuff

(defun some-funny functions ()
(global-set-key [(f1)] 'save-buffer)
(global-set-key [(f2)] 'some-funny-function)

(provide 'emacs_keys)

So using 

    -  use-package is possible?

    -  and if so: would it shorten startup?


Uwe Brauer 

reply via email to

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