Skip to content

Commit

Permalink
Update version to 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Nov 10, 2020
1 parent 4fb1f9a commit caa92f1
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 9 deletions.
83 changes: 83 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,88 @@
# Changes

## 2.4.1

This is mostly a bug-fix release:

- Update the documentation for :custom as per #850

- Fix broken test due to #850

- better tests

- add test for #845

- Support keymap symbol in bind-key. Fix #845

- use-package-core.el: use the Emacs set-default function to avoid saving :custom vars twice

- Fix Travis

- typo, should be a vector, not a bytecode object

Solves https://github.com/jwiegley/use-package/issues/842

- Add special value back again, in case needed for backwards compat

I don't know why this special value exists, but perhaps old client code uses it.

The additional `t' in the macro expansion is accidental but not harmful I guess.

- Even when there's no :config, run any pre/post config hooks

i.e., following the existing docs for use-package-inject-hooks, these hooks are
run:

use-package--foo--pre-config-hook
use-package--foo--post-config-hook

This should make config customisations more predictable (for example, spacemacs
uses these hooks extensively to allow 'layers' to be customised).

I got rid of the "special" default value for :config, because it doesn't seem to
be treated any differently than nil.

Fixes #785

- Clarify the documentation for :after

- add table of contents to README

- Fix typos

Typos found with codespell.

- Fix typos

- Attempt to explain omit "-hook" better

- Update tests

- Switch from `require' to `load' + `featurep'

- Use `require', not `load', when byte-compiling

- Make custom-face evaluate elisp.

Fix #696.

- Add a line of documentation for (use-pacakage ... :hook).

- Fix typo in README

- Fix documentation for defer

- Add no-query option for pdf-tools-install

- Fix typo in README

- Fix all notes in README

- Mention use-package-ensure in README

Without requiring `use-package-ensure`, setting `use-package-always-ensure`
did not actually work for me.

## 2.4

### Breaking changes
Expand Down
4 changes: 2 additions & 2 deletions default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ ELGS =

## Versions ##########################################################

VERSION = 2.4
VERSION = 2.4.1

USE_PACKAGE_VERSION = 2.4
USE_PACKAGE_VERSION = 2.4.1

EMACS_VERSION = 24.3

Expand Down
4 changes: 2 additions & 2 deletions use-package-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
;; Maintainer: John Wiegley <johnw@newartisans.com>
;; Created: 17 Jun 2012
;; Modified: 29 Nov 2017
;; Version: 2.4
;; Version: 2.4.1
;; Package-Requires: ((emacs "24.3"))
;; Keywords: dotemacs startup speed config package
;; URL: https://github.com/jwiegley/use-package
Expand Down Expand Up @@ -56,7 +56,7 @@
"A use-package declaration for simplifying your `.emacs'."
:group 'startup)

(defconst use-package-version "2.4"
(defconst use-package-version "2.4.1"
"This version of use-package.")

(defcustom use-package-keywords
Expand Down
2 changes: 1 addition & 1 deletion use-package.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
;; Maintainer: John Wiegley <johnw@newartisans.com>
;; Created: 17 Jun 2012
;; Modified: 29 Nov 2017
;; Version: 2.4
;; Version: 2.4.1
;; Package-Requires: ((emacs "24.3") (bind-key "2.4"))
;; Keywords: dotemacs startup speed config package
;; URL: https://github.com/jwiegley/use-package
Expand Down
4 changes: 2 additions & 2 deletions use-package.org
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#+TEXINFO_DIR_CATEGORY: Emacs
#+TEXINFO_DIR_TITLE: use-package: (use-package).
#+TEXINFO_DIR_DESC: Declarative package configuration for Emacs.
#+SUBTITLE: for version 2.4
#+SUBTITLE: for version 2.4.1

#+TEXINFO_DEFFN: t
#+OPTIONS: H:4 num:3 toc:2 creator:t
Expand Down Expand Up @@ -171,7 +171,7 @@ doing so, to make sure you are not using an outdated value for ~load-path~.
should display something like

#+BEGIN_EXAMPLE
use-package-version’s value is "2.4"
use-package-version’s value is "2.4.1"
#+END_EXAMPLE

If you are completely new to use-package then see {{{link-jump(Getting
Expand Down
4 changes: 2 additions & 2 deletions use-package.texi
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ General Public License for more details.
@finalout
@titlepage
@title use-package User Manual
@subtitle for version 2.4
@subtitle for version 2.4.1
@author John Wiegley
@page
@vskip 0pt plus 1filll
Expand Down Expand Up @@ -262,7 +262,7 @@ C-h v use-package-version RET
should display something like

@example
use-package-version’s value is "2.4"
use-package-version’s value is "2.4.1"
@end example

If you are completely new to use-package then see @ref{Getting Started}.
Expand Down

0 comments on commit caa92f1

Please sign in to comment.