[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.
>
https://github.com/kaushalmodi/.emacs.d/blob/d51b8bb267fd18978eed28e59a28006b235f75aa/init.el#L310-L311
> 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
like
(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?
thanks
Uwe Brauer
- use-package, Uwe Brauer, 2016/05/02
- Re: use-package, Kaushal Modi, 2016/05/02
- Re: use-package,
Uwe Brauer <=
- Re: use-package, Phillip Lord, 2016/05/04
- RE: use-package, Drew Adams, 2016/05/04
- Re: use-package, Phillip Lord, 2016/05/05
- RE: use-package, Drew Adams, 2016/05/05
- Re: use-package, Kaushal Modi, 2016/05/05
- RE: use-package, Drew Adams, 2016/05/05