From 99643f8873e4181df7c1f61fa2bfb7d3b432b9db Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 10 Nov 2020 13:33:45 -0800 Subject: [PATCH] Update version to 2.4.1 --- doc/misc/use-package.texi | 4 +- etc/USE-PACKAGE-NEWS | 83 ++++++++++++++++++++++++++++ lisp/use-package/use-package-core.el | 4 +- lisp/use-package/use-package.el | 2 +- 4 files changed, 88 insertions(+), 5 deletions(-) diff --git a/doc/misc/use-package.texi b/doc/misc/use-package.texi index 63ed2954e58..cad42bdfa28 100644 --- a/doc/misc/use-package.texi +++ b/doc/misc/use-package.texi @@ -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 @@ -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}. diff --git a/etc/USE-PACKAGE-NEWS b/etc/USE-PACKAGE-NEWS index 3b39c01ceea..1f516966980 100644 --- a/etc/USE-PACKAGE-NEWS +++ b/etc/USE-PACKAGE-NEWS @@ -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 diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index a36f73f0267..cd5b907a0b0 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el @@ -6,7 +6,7 @@ ;; Maintainer: John Wiegley ;; 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 @@ -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 diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 1a8fff895f6..0e194d5f182 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -6,7 +6,7 @@ ;; Maintainer: John Wiegley ;; 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 -- 2.39.2