]> git.eshelyaron.com Git - emacs.git/log
emacs.git
7 years agoRevert "Return `t' after calling `eval-after-load'"
John Wiegley [Sat, 18 Feb 2017 09:32:34 +0000 (01:32 -0800)]
Revert "Return `t' after calling `eval-after-load'"

This reverts commit 87a8ff6d693f3cc79ea423ca8c8e0a60b0bc596c.

7 years agoSupport multiple symbols passed to :after
John Wiegley [Thu, 16 Feb 2017 21:48:05 +0000 (13:48 -0800)]
Support multiple symbols passed to :after

The following expressions are now permitted:

    foo                         ; load after foo is loaded
    foo bar                     ; load after both foo and bar are loaded
    :all foo bar                ; same as previous
    :any foo bar                ; load after either foo or bar is loaded
    :any (:all foo bar) baz     ; more complex combinations...
    :any (:all foo bar) (:all baz wow)
    :all (:any foo bar) (:any baz wow)

Fixes https://github.com/jwiegley/use-package/issues/283

7 years ago:mode and :interpreter can now accept (rx ...) forms
John Wiegley [Thu, 16 Feb 2017 20:03:59 +0000 (12:03 -0800)]
:mode and :interpreter can now accept (rx ...) forms

Fixes https://github.com/jwiegley/use-package/issues/204

7 years agoReturn `t' after calling `eval-after-load'
John Wiegley [Thu, 16 Feb 2017 19:44:41 +0000 (11:44 -0800)]
Return `t' after calling `eval-after-load'

Fixes https://github.com/jwiegley/use-package/issues/174

7 years agoAdd autoload cookie for use-package-autoload-keymap
John Wiegley [Thu, 16 Feb 2017 19:33:29 +0000 (11:33 -0800)]
Add autoload cookie for use-package-autoload-keymap

Fixes https://github.com/jwiegley/use-package/issues/337

7 years agoMerge remote-tracking branch 'origin/pr/349'
John Wiegley [Thu, 16 Feb 2017 19:14:25 +0000 (11:14 -0800)]
Merge remote-tracking branch 'origin/pr/349'

7 years agoMerge pull request from justbur/find-form
John Wiegley [Mon, 13 Feb 2017 21:53:56 +0000 (16:53 -0500)]
Merge pull request from justbur/find-form

Add function use-package-jump-to-package-form
GitHub-reference: https://github.com/jwiegley/use-package/issues/359

7 years agoMerge pull request from justbur/imenu3
John Wiegley [Mon, 13 Feb 2017 21:44:04 +0000 (16:44 -0500)]
Merge pull request from justbur/imenu3

Improve imenu support
GitHub-reference: https://github.com/jwiegley/use-package/issues/356

7 years agoMerge pull request from raxod502/fix-use-package-defaults
John Wiegley [Mon, 13 Feb 2017 21:37:47 +0000 (16:37 -0500)]
Merge pull request from raxod502/fix-use-package-defaults

Fix use-package-defaults
GitHub-reference: https://github.com/jwiegley/use-package/issues/430

7 years agoFix use-package-defaults
Radon Rosborough [Mon, 13 Feb 2017 20:48:48 +0000 (12:48 -0800)]
Fix use-package-defaults

This patch should address issues https://github.com/jwiegley/use-package/issues/428 and https://github.com/jwiegley/use-package/issues/429. See https://github.com/jwiegley/use-package/issues/426 for
discussion. In brief, the issue was that use-package-sort-keywords was
not applied when the predicates in use-package-defaults did not return
true, when it should have been applied unconditionally.

7 years agoUnrevert "Add use-package-defaults"
Radon Rosborough [Mon, 13 Feb 2017 20:48:24 +0000 (12:48 -0800)]
Unrevert "Add use-package-defaults"

This reverts commit 013425edeb1829f5d21514f77d41763347538b14.

7 years agoRevert "Add use-package-defaults"
John Wiegley [Mon, 13 Feb 2017 18:33:11 +0000 (10:33 -0800)]
Revert "Add use-package-defaults"

This reverts commit 3dec23c0860ad297436b9b71b221491ae3790cce.

7 years agoMerge pull request from raxod502/use-package-defaults
John Wiegley [Sun, 12 Feb 2017 23:10:45 +0000 (18:10 -0500)]
Merge pull request from raxod502/use-package-defaults

Add use-package-defaults
GitHub-reference: https://github.com/jwiegley/use-package/issues/426

7 years agoAdd use-package-defaults
Radon Rosborough [Mon, 16 Jan 2017 21:47:31 +0000 (13:47 -0800)]
Add use-package-defaults

Previously, the :config, :ensure, and :pin keywords had default
values (dependent on the values of the use-package-always-ensure and
use-package-always-pin). This change allows the user to customize the
default values used for those keywords, and add default values for
their own keywords in a non-hacky way.

This functionality would be useful for (as an example) the
quelpa-use-package package, which needs to use an advice to override
the functionality of :ensure. The same problem prevents adding a
use-package-always-quelpa variable in any reasonable way, without a
way to customize the default values of keywords.

7 years agoMerge pull request from raxod502/use-package-ensure-function
John Wiegley [Mon, 16 Jan 2017 21:09:23 +0000 (13:09 -0800)]
Merge pull request from raxod502/use-package-ensure-function

Add use-package-ensure-function
GitHub-reference: https://github.com/jwiegley/use-package/issues/427

7 years agoAdd use-package-ensure-function
Radon Rosborough [Sun, 15 Jan 2017 16:03:05 +0000 (09:03 -0700)]
Add use-package-ensure-function

This allows the user to customize the :ensure keyword by using a
different package manager than package.el.

7 years agoAdd new customization option `use-package-always-demand`
John Wiegley [Thu, 22 Dec 2016 17:02:52 +0000 (09:02 -0800)]
Add new customization option `use-package-always-demand`

This is equivalent to adding `:demand t` to all `use-package` declarations,
and has the same semantics as doing so (meaning it can be overridden locally
using `:defer t` in a declaration).

Fixes https://github.com/jwiegley/use-package/issues/423

7 years agoMerge pull request from basil-conto/preface
John Wiegley [Sun, 18 Dec 2016 23:21:10 +0000 (15:21 -0800)]
Merge pull request from basil-conto/preface

Increase :preface priority
GitHub-reference: https://github.com/jwiegley/use-package/issues/418

7 years agoMerge pull request from tarsius/outline
John Wiegley [Sun, 18 Dec 2016 23:20:42 +0000 (15:20 -0800)]
Merge pull request from tarsius/outline

Support outline-minor-mode
GitHub-reference: https://github.com/jwiegley/use-package/issues/420

7 years agoMerge pull request from tarsius/bind-later
John Wiegley [Sun, 18 Dec 2016 23:17:20 +0000 (15:17 -0800)]
Merge pull request from tarsius/bind-later

Delay decision whether to use eval-after-load until run-time
GitHub-reference: https://github.com/jwiegley/use-package/issues/419

7 years agoDelay decision whether to use eval-after-load until run-time
Jonas Bernoulli [Sun, 18 Dec 2016 14:47:36 +0000 (15:47 +0100)]
Delay decision whether to use eval-after-load until run-time

Just because a keymap variable is bound at macro-expansion-time
doesn't mean that it must be bound at run-time too.

Change `bind-keys-form', which is used by `bind-keys' and other
macros, to return a form which delays the decision on whether to
wrap the binding forms with `eval-after-load' until run-time.

Fixes https://github.com/jwiegley/use-package/issues/378.

7 years agoSupport outline-minor-mode
Jonas Bernoulli [Sat, 17 Dec 2016 14:26:15 +0000 (15:26 +0100)]
Support outline-minor-mode

In "use-package.el" prefix headings with ";;;" instead of just
";;".  In "bind-key.el" add the missing ";;; Code:" heading.
In both libraries set `outline-regexp' to an appropriate value.

7 years agoIncrease :preface priority
Basil L. Contovounesios [Fri, 16 Dec 2016 08:50:05 +0000 (08:50 +0000)]
Increase :preface priority

Reconcile order of `use-package-keywords' with the README
description of `:preface' as occurring before everything but
`:disabled'.

8 years agoMerge pull request from phst/bug398
John Wiegley [Mon, 31 Oct 2016 17:25:04 +0000 (10:25 -0700)]
Merge pull request from phst/bug398

Declare package-read-all-archive-contents
GitHub-reference: https://github.com/jwiegley/use-package/issues/402

8 years agoDeclare package-read-all-archive-contents
Philipp Stephani [Mon, 31 Oct 2016 17:22:03 +0000 (18:22 +0100)]
Declare package-read-all-archive-contents

Fixes https://github.com/jwiegley/use-package/issues/398

8 years agoRemove tests, which don’t work
Philipp Stephani [Mon, 31 Oct 2016 17:16:50 +0000 (18:16 +0100)]
Remove tests, which don’t work

Fixes https://github.com/jwiegley/use-package/issues/399

8 years agoDon't allow implicit package name arg for binders
Noam Postavsky [Fri, 5 Aug 2016 22:43:34 +0000 (18:43 -0400)]
Don't allow implicit package name arg for binders

It's unlikely that

    (use-package foopkg :bind "<some-key>")

intendes to bind <some-key> to 'foopkg command.

8 years agoDon't allow nil as a mode function
Noam Postavsky [Thu, 26 May 2016 19:09:46 +0000 (15:09 -0400)]
Don't allow nil as a mode function

This means (use-package foopkg :mode (".foo")) will add (".foo"
. foopkg) into auto-mode-alist instead of the broken (".foo" . nil),
this is more consistent with the behaviour of (use-package foopkg
:mode (".foo" ".bar")).

8 years agoRefactor pair normalizers; add tests for them
Noam Postavsky [Thu, 26 May 2016 19:08:32 +0000 (15:08 -0400)]
Refactor pair normalizers; add tests for them

This is not a pure refactoring, it also fixes a bug where
:bind ([keysym] . "string") would actually bind keysym to nil (i.e.,
unbind it).  It now binds to "string" as expected.

8 years agoRemove obsolete mplist tests
Noam Postavsky [Thu, 26 May 2016 19:00:56 +0000 (15:00 -0400)]
Remove obsolete mplist tests

The mplist functions were removed in the 2.0
refactoring (4ae584f3ff0e9bda05420ec3b8598e59374b0899).

8 years agoBump version to 2.3
John Wiegley [Mon, 17 Oct 2016 23:40:29 +0000 (16:40 -0700)]
Bump version to 2.3

8 years agoMerge pull request from appleby/master
John Wiegley [Mon, 15 Aug 2016 18:37:44 +0000 (11:37 -0700)]
Merge pull request from appleby/master

Ensure package-pinned-packages is bound before referencing it.
GitHub-reference: https://github.com/jwiegley/use-package/issues/376

8 years agoEnsure package-pinned-packages is bound before referencing it
Mike Appleby [Mon, 15 Aug 2016 03:43:36 +0000 (22:43 -0500)]
Ensure package-pinned-packages is bound before referencing it

Add a bound-and-true-p guard to package-pinned-packages before
referencing it in use-package-ensure-elpa.

Package pinning was introduced in Emacs 24.4, and hence
package-pinned-packages in unbound by default in earlier versions.

Relevant commits:
 72452b5 Merge pull request https://github.com/jwiegley/use-package/issues/367 from ketbra/master
 5053f75 Make pin and ensure compatible

Fixes https://github.com/jwiegley/use-package/issues/375

Copyright-paperwork-exempt: yes

8 years agoRemove the use of a tab
John Wiegley [Fri, 22 Jul 2016 18:23:10 +0000 (11:23 -0700)]
Remove the use of a tab

8 years agoMerge pull request from ketbra/master
John Wiegley [Fri, 22 Jul 2016 18:22:39 +0000 (11:22 -0700)]
Merge pull request from ketbra/master

Update use-package.el
GitHub-reference: https://github.com/jwiegley/use-package/issues/367

8 years agoMake pin and ensure compatible
Matthew Feinberg [Thu, 21 Jul 2016 12:38:30 +0000 (08:38 -0400)]
Make pin and ensure compatible

`:pin` does not work with `:ensure`, because it doesn't add the package to package-pinned-packages until after reading the package archive contents.  This change causes the package archive contents to be reread if the package is pinned and `:ensure` is being used.

Copyright-paperwork-exempt: yes

8 years agoMerge pull request from npostavs/state-noconst
John Wiegley [Mon, 18 Jul 2016 16:10:49 +0000 (09:10 -0700)]
Merge pull request from npostavs/state-noconst

Some minor fixes
GitHub-reference: https://github.com/jwiegley/use-package/issues/342

8 years agoFix declare-function call: FILE must be a string
Noam Postavsky [Mon, 18 Jul 2016 02:28:25 +0000 (22:28 -0400)]
Fix declare-function call: FILE must be a string

8 years agouse-package-as-string: use noerror parameter
Noam Postavsky [Mon, 7 Sep 2015 02:28:50 +0000 (22:28 -0400)]
use-package-as-string: use noerror parameter

8 years agoDon't pass a constant as the state
Noam Postavsky [Sun, 24 Apr 2016 14:31:23 +0000 (10:31 -0400)]
Don't pass a constant as the state

for use-package-process-keywords, because the function may modify the
list object.  Modifying a quoted constant can lead to unexpected side
effects (e.g. values from previous use-package forms end up in
subsequent ones).

8 years agoVersion 2.2
John Wiegley [Wed, 6 Jul 2016 22:20:41 +0000 (15:20 -0700)]
Version 2.2

8 years agoMerge pull request from justbur/bump-init
John Wiegley [Tue, 5 Jul 2016 20:31:15 +0000 (13:31 -0700)]
Merge pull request from justbur/bump-init

Move :init forms before :after and :demand
GitHub-reference: https://github.com/jwiegley/use-package/issues/360

8 years agoMove :init forms before :after and :demand
Justin Burkett [Thu, 23 Jun 2016 14:01:33 +0000 (10:01 -0400)]
Move :init forms before :after and :demand

The docstring of use-package says that :init should run before the
package is loaded but using :after moves the require statement ahead of
:init when any package specified in :after is already loaded. In the
following example, in the first case bar-x might get set before or after
bar is loaded depending on if foo is already loaded at the time, while
the second case always sets bar-x first.

(use-package bar
  :after (foo)
  :init (setq bar-x 2)
  :config (bar-mode))

(use-package bar
  :init (setq bar-x 2)
  :config (bar-mode))

This commit fixes the issue and makes sure that bar-x is set before bar
is loaded by use-package. Fixes https://github.com/jwiegley/use-package/issues/352.

8 years agoAdd function use-package-jump-to-package-form
Justin Burkett [Thu, 23 Jun 2016 02:46:32 +0000 (22:46 -0400)]
Add function use-package-jump-to-package-form

This is an attempt at resolving https://github.com/jwiegley/use-package/issues/329. The new interactive function
use-package-jump-to-package-form will prompt with a completing read of
all known packages. After selecting a package, use-package-find-require
searches load-history to see where the package was required and then I
attempt to find the correct use-package form using
use-package-form-regexp.

It will fail if the use-package form you are looking for did not
actually load the package. For example it could be something that is a
dependency of a library that was already loaded. In some sense this is a
feature because it is helpful to know that the library was already
loaded when your use-package form was encountered. It will also fail if
your use-package declaration doesn't match the regexp used, but this is
easily adjusted.

8 years agoImprove imenu support
Justin Burkett [Wed, 15 Jun 2016 02:37:56 +0000 (22:37 -0400)]
Improve imenu support

Instead of using defvar for lisp-mode-symbol-regexp, wait until
lisp-mode is loaded and check for its existence to avoid making
use-package the place where this variable is declared.

8 years agoMerge pull request from justbur/imenu2
John Wiegley [Tue, 14 Jun 2016 15:03:16 +0000 (08:03 -0700)]
Merge pull request from justbur/imenu2

Fix imenu support for older versions
GitHub-reference: https://github.com/jwiegley/use-package/issues/355

8 years agoFix imenu support for older versions
Justin Burkett [Tue, 14 Jun 2016 01:02:14 +0000 (21:02 -0400)]
Fix imenu support for older versions

lisp-mode-symbol-regexp was not defined in Emacs 24.5.

8 years agoMerge pull request from justbur/imenu
John Wiegley [Mon, 13 Jun 2016 16:57:20 +0000 (09:57 -0700)]
Merge pull request from justbur/imenu

Add imenu support for use-package forms
GitHub-reference: https://github.com/jwiegley/use-package/issues/354

8 years agoMerge pull request from robario/patch-1
John Wiegley [Mon, 13 Jun 2016 16:13:21 +0000 (09:13 -0700)]
Merge pull request from robario/patch-1

Fix to ignore load error caused via :after
GitHub-reference: https://github.com/jwiegley/use-package/issues/350

8 years agoAdd imenu support for use-package forms
Justin Burkett [Mon, 13 Jun 2016 13:45:27 +0000 (09:45 -0400)]
Add imenu support for use-package forms

Also add require forms and group both under menu "Package".

8 years agoFix to ignore load error caused via :after
robario [Sun, 5 Jun 2016 05:58:40 +0000 (14:58 +0900)]
Fix to ignore load error caused via :after

Copyright-paperwork-exempt: yes

8 years agoMerge pull request from xuchunyang/fix-package-install
John Wiegley [Sun, 3 Apr 2016 18:29:36 +0000 (11:29 -0700)]
Merge pull request from xuchunyang/fix-package-install

Mark package as selected with package-install
GitHub-reference: https://github.com/jwiegley/use-package/issues/336

8 years agoMark package as selected with package-install
Chunyang Xu [Thu, 31 Mar 2016 11:25:48 +0000 (19:25 +0800)]
Mark package as selected with package-install

Fixes https://github.com/jwiegley/use-package/issues/327

8 years ago:map no longer accepts lists; only eval-after-load if necessary
John Wiegley [Sat, 27 Feb 2016 08:48:29 +0000 (00:48 -0800)]
:map no longer accepts lists; only eval-after-load if necessary

Fixes https://github.com/jwiegley/use-package/issues/324

8 years agoNormalize some error text
John Wiegley [Sat, 27 Feb 2016 00:18:21 +0000 (16:18 -0800)]
Normalize some error text

8 years agoOnly printing debug messages if use-package-verbose is `debug'
John Wiegley [Sat, 27 Feb 2016 00:14:51 +0000 (16:14 -0800)]
Only printing debug messages if use-package-verbose is `debug'

Fixes https://github.com/jwiegley/use-package/issues/271

8 years agoMerge pull request from ljos/master
John Wiegley [Sat, 27 Feb 2016 00:08:31 +0000 (19:08 -0500)]
Merge pull request from ljos/master

Quote variable in bind-keys*
GitHub-reference: https://github.com/jwiegley/use-package/issues/325

8 years agoRepair :map handling in bind-key.el
John Wiegley [Sat, 27 Feb 2016 00:06:58 +0000 (16:06 -0800)]
Repair :map handling in bind-key.el

GitHub-reference: fixes https://github.com/jwiegley/use-package/issues/324

8 years agoQuote variable in `bind-keys*'
Bjarte Johansen [Fri, 26 Feb 2016 15:19:24 +0000 (15:19 +0000)]
Quote variable in `bind-keys*'

* bind-key.el (bind-keys*): `override-global-map' needs to be quoted so
  the symbol is passed to `bind-keys-form' and not the value.
GitHub-reference: fixes https://github.com/jwiegley/use-package/issues/323

8 years agoAdd configuration variable `use-package-check-before-init'
John Wiegley [Fri, 26 Feb 2016 01:24:59 +0000 (17:24 -0800)]
Add configuration variable `use-package-check-before-init'

Fixes https://github.com/jwiegley/use-package/issues/306

8 years agoUse `add-to-list' defensively instead of `push'
John Wiegley [Fri, 26 Feb 2016 01:13:02 +0000 (17:13 -0800)]
Use `add-to-list' defensively instead of `push'

GitHub-reference: fixes https://github.com/jwiegley/use-package/issues/293

8 years agoAdd variable `use-package-always-defer'
John Wiegley [Fri, 26 Feb 2016 01:04:17 +0000 (17:04 -0800)]
Add variable `use-package-always-defer'

GitHub-reference: fixes https://github.com/jwiegley/use-package/issues/202

8 years agoRestore :bind-keymap, it does something special still
John Wiegley [Fri, 26 Feb 2016 00:41:09 +0000 (16:41 -0800)]
Restore :bind-keymap, it does something special still

8 years agoRemove :bind-keymaps, and only apply :map bindings after load
John Wiegley [Fri, 26 Feb 2016 00:37:34 +0000 (16:37 -0800)]
Remove :bind-keymaps, and only apply :map bindings after load

8 years agoSupport multiples uses of :map with :bind
John Wiegley [Thu, 25 Feb 2016 23:57:50 +0000 (15:57 -0800)]
Support multiples uses of :map with :bind

GitHub-reference: fixes https://github.com/jwiegley/use-package/issues/121

8 years agoAdd some variable settings to use-package-tests.el, thanks tarsius
John Wiegley [Thu, 25 Feb 2016 23:21:49 +0000 (15:21 -0800)]
Add some variable settings to use-package-tests.el, thanks tarsius

8 years agoMerge pull request from alezost/keymap-doc-fix
John Wiegley [Thu, 25 Feb 2016 23:19:58 +0000 (18:19 -0500)]
Merge pull request from alezost/keymap-doc-fix

Handle the case when keymap has a broken documentation
GitHub-reference: https://github.com/jwiegley/use-package/issues/223

8 years agoAdd another `declare'
John Wiegley [Thu, 25 Feb 2016 23:16:04 +0000 (15:16 -0800)]
Add another `declare'

8 years agoHandle :unless correctly
John Wiegley [Thu, 25 Feb 2016 23:08:32 +0000 (15:08 -0800)]
Handle :unless correctly

GitHub-reference: fixes https://github.com/jwiegley/use-package/issues/197

8 years agoAdd a comment about a recent change
John Wiegley [Wed, 10 Feb 2016 00:33:09 +0000 (19:33 -0500)]
Add a comment about a recent change

8 years agoMerge pull request from waymondo/master
John Wiegley [Wed, 10 Feb 2016 00:31:48 +0000 (19:31 -0500)]
Merge pull request from waymondo/master

Allow string values in cons for :bind keywords
GitHub-reference: https://github.com/jwiegley/use-package/issues/303

8 years agoMerge pull request from dudebout/patch-1
John Wiegley [Sat, 6 Feb 2016 20:56:18 +0000 (15:56 -0500)]
Merge pull request from dudebout/patch-1

Upper casing Cs corresponding to Ctrl
GitHub-reference: https://github.com/jwiegley/use-package/issues/316

8 years agoAdd an autoload cookie for `use-package'
John Wiegley [Sat, 6 Feb 2016 19:55:35 +0000 (14:55 -0500)]
Add an autoload cookie for `use-package'

8 years agoUpper casing Cs corresponding to Ctrl
Nicolas Dudebout [Sat, 6 Feb 2016 02:40:34 +0000 (21:40 -0500)]
Upper casing Cs corresponding to Ctrl

A number of Cs corresponding to Ctrl have been lower cased in comments in eb6b81dfe.

8 years agoMerge pull request from thierryvolpiatto/fix_package_install
John Wiegley [Thu, 4 Feb 2016 19:00:36 +0000 (14:00 -0500)]
Merge pull request from thierryvolpiatto/fix_package_install

When :ensure is used install package as a selected package.
GitHub-reference: https://github.com/jwiegley/use-package/issues/314

8 years agoEnsure package-install support a second argument
Thierry Volpiatto [Thu, 4 Feb 2016 10:19:23 +0000 (11:19 +0100)]
Ensure package-install support a second argument

* use-package.el (use-package-ensure-elpa): Do it.

8 years agoWhen :ensure is used install package as a selected package
Thierry Volpiatto [Thu, 4 Feb 2016 09:20:55 +0000 (10:20 +0100)]
When :ensure is used install package as a selected package

Also shutup bytecompiler about package-archive-contents.

* use-package.el (use-package-ensure-elpa): Add package to selected package
by using second arg of package install.

8 years agoMerge pull request from kovrik/fix-pin-performance
John Wiegley [Mon, 25 Jan 2016 17:58:02 +0000 (12:58 -0500)]
Merge pull request from kovrik/fix-pin-performance

Do not package-initialize on each :pin
GitHub-reference: https://github.com/jwiegley/use-package/issues/308

8 years agoMerge pull request from phillord/fix/always-pin-typo
John Wiegley [Thu, 21 Jan 2016 18:33:36 +0000 (13:33 -0500)]
Merge pull request from phillord/fix/always-pin-typo

Fix errant variable name.
GitHub-reference: https://github.com/jwiegley/use-package/issues/312

8 years agoFix errant variable name
Phillip Lord [Thu, 21 Jan 2016 09:06:28 +0000 (09:06 +0000)]
Fix errant variable name

8 years agoMerge pull request from phillord/feature/always-pin
John Wiegley [Wed, 20 Jan 2016 23:55:54 +0000 (18:55 -0500)]
Merge pull request from phillord/feature/always-pin

Add new option `-always-pin'
GitHub-reference: https://github.com/jwiegley/use-package/issues/310

8 years agoAdd new option `-always-pin'
Phillip Lord [Wed, 20 Jan 2016 22:02:26 +0000 (22:02 +0000)]
Add new option `-always-pin'

`use-package-always-pin' allows a default archive (or manual) to be
specified for all use-package statements, unless explicitly overridden.

8 years agoChange condition that checks if package has been initialized
Ivan Goncharov [Tue, 19 Jan 2016 21:49:27 +0000 (10:49 +1300)]
Change condition that checks if package has been initialized

8 years agoDo not package-initialize on each :pin
Ivan Goncharov [Mon, 18 Jan 2016 01:41:27 +0000 (14:41 +1300)]
Do not package-initialize on each :pin

8 years agoMerge pull request from kovrik/issue-299
John Wiegley [Tue, 12 Jan 2016 21:01:19 +0000 (16:01 -0500)]
Merge pull request from kovrik/issue-299

Move :pin out of macro expansion phase
GitHub-reference: https://github.com/jwiegley/use-package/issues/302

8 years agoAdd a missing comma
John Wiegley [Tue, 12 Jan 2016 15:58:06 +0000 (07:58 -0800)]
Add a missing comma

8 years agoAdd a PREDICATE option to bind-key, and :filter to `bind-keys'
John Wiegley [Tue, 12 Jan 2016 06:38:31 +0000 (22:38 -0800)]
Add a PREDICATE option to bind-key, and :filter to `bind-keys'

8 years agoallow string values in cons for :bind keywords
Justin Talbott [Fri, 8 Jan 2016 19:35:17 +0000 (14:35 -0500)]
allow string values in cons for :bind keywords

It is possible with `bind-key` and `define-key` (and also `bind-chord`
and `key-chord-define`) to define a binding to a string's value, i.e:

``` elisp
(bind-key "C-;" "the ")
(bind-chord "^^" "λ")
```

This adds an option for `(use-package-normalize-pairs)` that allows
string values to be given with the `:bind` (and also `:chord`) keywords
to expand into these definitions.

8 years agoGuard against a case where :load-paths is nil
John Wiegley [Wed, 6 Jan 2016 23:50:43 +0000 (15:50 -0800)]
Guard against a case where :load-paths is nil

8 years agoMove :pin out of macro expansion phase fixes
Ivan Goncharov [Tue, 5 Jan 2016 23:56:54 +0000 (12:56 +1300)]
Move :pin out of macro expansion phase fixes

8 years agoMove :pin out of macro expansion phase
Ivan Goncharov [Tue, 5 Jan 2016 22:15:22 +0000 (11:15 +1300)]
Move :pin out of macro expansion phase

8 years agoUse cl-mapcan rather than apply 'nconc; thanks wasamasa
John Wiegley [Sun, 20 Dec 2015 22:39:33 +0000 (14:39 -0800)]
Use cl-mapcan rather than apply 'nconc; thanks wasamasa

9 years agoMerge pull request from kovrik/byte-compile-ensure-fix
John Wiegley [Thu, 12 Nov 2015 22:39:45 +0000 (17:39 -0500)]
Merge pull request from kovrik/byte-compile-ensure-fix

Install packages when byte-compiling (fix by @npostavs)
GitHub-reference: https://github.com/jwiegley/use-package/issues/285

9 years agoInstall packages when byte-compiling (fix by @npostavs)
Ivan Goncharov [Thu, 12 Nov 2015 22:08:02 +0000 (11:08 +1300)]
Install packages when byte-compiling (fix by @npostavs)

9 years agoApply a fix from npostavs relating to
John Wiegley [Tue, 10 Nov 2015 01:33:05 +0000 (17:33 -0800)]
Apply a fix from npostavs relating to

GitHub-reference: https://github.com/jwiegley/use-package/issues/279

9 years agoMerge pull request from kovrik/master
John Wiegley [Mon, 9 Nov 2015 23:58:21 +0000 (18:58 -0500)]
Merge pull request from kovrik/master

Move :ensure option execution from macro expansion phase to runtime phase
GitHub-reference: https://github.com/jwiegley/use-package/issues/273

9 years agoMerge pull request from phillord/feature/after
John Wiegley [Thu, 5 Nov 2015 13:03:55 +0000 (08:03 -0500)]
Merge pull request from phillord/feature/after

Support for after keyword.
GitHub-reference: https://github.com/jwiegley/use-package/issues/276

9 years agoSupport for after keyword
Phillip Lord [Wed, 4 Nov 2015 22:45:37 +0000 (22:45 +0000)]
Support for after keyword

After provides `eval-after-load' functionality for any number of
features. This helps to avoid deeply nested `use-package' statements.

Closes https://github.com/jwiegley/use-package/issues/274

9 years agoMove :ensure option from macro expansion phase to runtime phase
Ivan Goncharov [Tue, 3 Nov 2015 01:43:51 +0000 (14:43 +1300)]
Move :ensure option from macro expansion phase to runtime phase

9 years agoBump version to 2.1
John Wiegley [Sat, 26 Sep 2015 15:46:37 +0000 (08:46 -0700)]
Bump version to 2.1