Nicolas Dudebout
fd8af80f08
Enables using variables and functions as arguments
...
This change an extra level on indirection for two cases:
+ when an association or an alist is required, it is possible to pass a
variable containing an association or an alist
+ when a sexp to be evaluated is required, it is possible to pass a
function instead
2013-09-24 12:23:08 -04:00
John Wiegley
6fdeb0c044
Merge pull request from npostavs/eval-after-name
...
pass name (not name-string) to eval-after-load
GitHub-reference: https://github.com/jwiegley/use-package/issues/53
2013-09-17 00:22:16 -07:00
Noam Postavsky
c6d79d2cb4
pass name (not name-string) to eval-after-load
...
Fixes https://github.com/jwiegley/use-package/issues/52 : the :config block would be triggered when loading a config
file with the same name as the package and again when loading the
package itself.
2013-09-16 13:59:16 -04:00
John Wiegley
6efc084cdf
Merge pull request from aethanyc/fix-highlight
...
Fix highlight use-package for Emacs snapshot
GitHub-reference: https://github.com/jwiegley/use-package/issues/49
2013-09-15 13:12:45 -07:00
Ting-Yu Lin
bbf2b5034b
Fix highlight use-package for Emacs snapshot
...
The commit 57f80d4 fixed the highlight by following the regexp as for
require. However in Emacs truck, it only highlights first part of the
package name.
This change follows the regexp for require on emacs truck. See line
2327 on font-lock.el in the following patch.
http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/111821
2013-09-13 21:38:02 +08:00
John Wiegley
749295c052
Merge pull request from npostavs/hilite-redux
...
highlight use-package before typing package name
GitHub-reference: https://github.com/jwiegley/use-package/issues/47
2013-09-04 13:27:43 -07:00
John Wiegley
71150a79c5
Merge pull request from aethanyc/improve-output-buffer
...
Improve (describe-personal-keybindings) output
GitHub-reference: https://github.com/jwiegley/use-package/issues/48
2013-09-04 13:27:25 -07:00
Ting-Yu Lin
8de5c29ed5
Improve (describe-personal-keybindings) output
...
Create *Personal Keybindings* by with-output-to-temp-buffer. It
redirects standard output to the buffer and display it in help mode. So
we can get help mode keybindings such as "q" for free.
Quote the command-desc output so that it is made into a hyperlink.
2013-09-04 23:15:28 +08:00
Noam Postavsky
57f80d4ff1
highlight use-package before typing package name
...
This follow the same pattern as the highlighting for provide and require
from `lisp-font-lock-keywords-2' in font-lock.el
2013-09-03 21:55:38 -04:00
John Wiegley
a56244378f
Merge pull request from npostavs/master
...
also check `byte-compile-current-file' for compile time loads, fixes issue https://github.com/jwiegley/use-package/issues/44
GitHub-reference: https://github.com/jwiegley/use-package/issues/45
2013-08-15 23:07:09 -07:00
Noam Postavsky
48975f791b
also check `byte-compile-current-file' for compile time loads, fixes issue
...
`eval-when-compile' is really `eval-when-macroexpand' which includes
loading from source
GitHub-reference: https://github.com/jwiegley/use-package/issues/44
2013-08-15 21:35:38 -04:00
John Wiegley
3d0b14eac2
Merge pull request from npostavs/master
...
Byte compilation, fixes for https://github.com/jwiegley/use-package/issues/29 and https://github.com/jwiegley/use-package/issues/30
GitHub-reference: https://github.com/jwiegley/use-package/issues/43
2013-08-13 18:54:23 -07:00
Noam Postavsky
a76d16730d
use lambda around deferred :config forms to compile them, fixes issue
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/30
2013-08-13 19:25:26 -04:00
Noam Postavsky
ac0c9633bc
use `eval-when-compile' for loading package at compile time, fixes issue
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/29
2013-08-13 19:14:22 -04:00
John Wiegley
e481d97891
Merge pull request from npostavs/master
...
refine use-package highlighting regexp
GitHub-reference: https://github.com/jwiegley/use-package/issues/41
2013-08-11 21:22:57 -07:00
Noam Postavsky
2a1e7e418a
refine use-package highlighting regexp
2013-08-11 16:05:06 -04:00
John Wiegley
3a4556a906
Merge pull request from purcell/patch-2
...
Fix initial line to satisfy package.el
GitHub-reference: https://github.com/jwiegley/use-package/issues/40
2013-07-28 15:04:20 -07:00
Steve Purcell
a5859a7c8d
Fix initial line to satisfy package.el
2013-07-28 09:45:06 +01:00
Phil Hudson
f98b9d08fe
Validate keywords. Error if any keyword is unrecognized
...
Conflicts:
use-package.el
2013-07-03 12:56:48 -05:00
John Wiegley
ed2b339783
Merge pull request from phillord/ensure-doc
...
Ensure doc
GitHub-reference: https://github.com/jwiegley/use-package/issues/37
2013-06-26 10:33:46 -07:00
Phillip Lord
01cfa0358f
Added documentation to use-package macro
2013-06-26 12:12:25 +01:00
Phillip Lord
7161c09b30
Documentation added for :ensure keyword
2013-06-26 10:28:35 +01:00
John Wiegley
e38cfff8b6
Merge pull request from milkypostman/master
...
package header should be the full filename + ext
GitHub-reference: https://github.com/jwiegley/use-package/issues/28
2013-05-15 14:29:20 -07:00
Donald Curtis
19c65ea3ab
package header should, hold, sold be the full filename + ext
...
this fixes a bug in using `(package-buffer-info)`
2013-05-15 09:01:37 -05:00
John Wiegley
2da6318930
Merge pull request from tarsius/font-lock
...
fontify use-package form
GitHub-reference: https://github.com/jwiegley/use-package/issues/25
2013-04-27 15:09:55 -07:00
John Wiegley
9741bdb189
Merge pull request from tarsius/master
...
some small cleanups
GitHub-reference: https://github.com/jwiegley/use-package/issues/24
2013-04-27 15:09:39 -07:00
Jonas Bernoulli
5b696d1918
fontify use-package form
2013-04-27 17:43:41 +02:00
Jonas Bernoulli
d2460b9276
add dots; cleanup whitespace
2013-04-27 17:19:43 +02:00
Jonas Bernoulli
a5e4a6d938
quiet byte-compiler; ensure package.el is loaded
2013-04-27 17:19:43 +02:00
Jonas Bernoulli
82903da9d8
don't use obsolete flet
...
Unfortunately there isn't a proper dynamically scoped
replacement, so we have to resort to using funcall.
2013-04-27 17:19:43 +02:00
Jonas Bernoulli
17a1a4659a
enforce use of spaces for indentation
2013-04-27 17:19:43 +02:00
John Wiegley
5a799db5a1
Merge pull request from purcell/patch-1
...
Add Package-Requires header for ELPA installations
GitHub-reference: https://github.com/jwiegley/use-package/issues/22
2013-04-23 09:06:47 -07:00
Steve Purcell
b901618607
Add Package-Requires header for ELPA installations
2013-04-23 11:25:10 +02:00
John Wiegley
ef6b97c29f
Merge pull request from npostavs/easy-diminish
...
needed extra layer of nesting for diminish calls
GitHub-reference: https://github.com/jwiegley/use-package/issues/21
2013-04-16 15:28:37 -07:00
Noam Postavsky
0df0e18c4b
needed extra layer of nesting for diminish calls
2013-04-16 11:29:32 -04:00
John Wiegley
984e0f1044
Merge pull request from npostavs/easy-diminish
...
let :diminish "string" guess correct mode symbol
GitHub-reference: https://github.com/jwiegley/use-package/issues/20
2013-04-14 14:03:46 -07:00
John Wiegley
094830716d
Merge pull request from npostavs/bind-override
...
let bind-key* override minor modes with emulation-mode-map-alists
GitHub-reference: https://github.com/jwiegley/use-package/issues/19
2013-04-14 13:45:23 -07:00
Noam Postavsky
2abe5f9480
let :diminish "string" guess correct mode symbol
2013-04-14 15:01:37 -04:00
Noam Postavsky
09b9ef3ae3
let bind-key* override minor modes with emulation-mode-map-alists
2013-04-13 18:24:52 -04:00
John Wiegley
26bfd9ce2f
Merge pull request from PhilHudson/master
...
Macro expansion redux
GitHub-reference: https://github.com/jwiegley/use-package/issues/17
2013-03-23 05:08:33 -07:00
Phil Hudson
34d3f115dd
Runtime client code independence redux
...
Tweak to previous fix for expanding macros correctly at code-planting time. Specifically, eval `use-package-minimum-reported-time' at code-planting time not at runtime (which would require use-package.el to be loaded first).
2013-03-23 11:31:15 +00:00
John Wiegley
1758c5faea
Corrected a typo
2013-02-18 17:52:58 -06:00
John Wiegley
d718c0cefa
Merge pull request from phillord/master
...
Support for idle loading of packages
GitHub-reference: https://github.com/jwiegley/use-package/issues/16
2013-02-12 09:51:00 -08:00
Phillip Lord
52a48a77c3
Merge branch 'master' of https://github.com/jwiegley/use-package
2013-02-12 10:22:47 +00:00
Phillip Lord
35685f120b
idle initiation of packages
...
A new feature which adds support for idle startup and loading of packages.
2013-02-12 10:22:06 +00:00
John Wiegley
49d25ce022
Merge pull request from phillord/master
...
Load time display option.
GitHub-reference: https://github.com/jwiegley/use-package/issues/15
2013-02-05 22:13:29 -08:00
Phillip Lord
aa8d5fab19
Added minimum load time display option
...
Makes the minimum load time before use-package displays
a message a customizable option.
2013-02-05 21:46:02 +00:00
John Wiegley
447004740c
Merge pull request from bdd/master
...
Remove trailing whitespace
GitHub-reference: https://github.com/jwiegley/use-package/issues/14
2013-01-28 07:57:47 -08:00
Berk D. Demir
c680b57ebf
Cleanup trailing whitespace
...
Just `M-x delete-trailing-whitespace' on use-package.el
2013-01-28 00:38:39 -08:00
John Wiegley
1a65b11731
Merge pull request from PhilHudson/macroexpand
...
Macroexpand quoted eval-after-load block early
GitHub-reference: https://github.com/jwiegley/use-package/issues/13
2013-01-23 19:34:03 -08:00