Releases: magnars/dash.el
2.19.1
2.19.0
Fixes
- Reverted a breaking change introduced in
2.18.0
that caused the threading macro-->
to be indented differently from->
and->>
(#375). - Added and fixed Edebug specifications for many Dash macros (Philipp Stephani, #380, #381).
New features
- The combinators
-on
,-flip
,-not
,-andfn
, and-orfn
now return variadic functions that take any number of arguments (#308). - New combinator
-rotate-args
similar to-flip
, but for arbitrary arglist rotations (suggested by @vapniks, #72). - New function
-every
and its anaphoric macro counterpart--every
. They are like the existing-every-p
and--every-p
, respectively, but return the last non-nil
result instead of justt
. - New macro
--partition-after-pred
which affords-partition-after-pred
better performance (Per Weijnitz, #362).
2.18.1
2.18.0
This release absorbs the now obsolete dash-functional
version 1.3.0
into dash
, and brings the very old version of dash
on GNU ELPA up to date.
Package maintainers should replace all uses of dash-functional
, which will eventually be deleted, with dash
version 2.18.0
. For more information on this, see: https://github.com/magnars/dash.el/wiki/Obsoletion-of-dash-functional.el
-
New function
-iota
for generating arithmetic sequences (@holomorph, #215). -
Calling
-list
with more than one argument is now deprecated. -
-lambda
now accepts an empty argument list. -
New anaphoric macros
--reductions-from
,--reductions
,--reductions-r-from
, and--reductions-r
corresponding to the analogous non-anaphoric functions. -
-doto
threading now works as with->
. -
New buffer-local minor mode
dash-fontify-mode
and globalized counterpartglobal-dash-fontify-mode
for fontifying special Dash variables such asit
,it-index
,acc
, etc. The minor mode also fontifies calls to Dash macros in older Emacs versions which did not dynamically detect macro calls.This obsoletes the user option
dash-enable-fontlock
and the functiondash-enable-font-lock
, which is now an alias ofglobal-dash-fontify-mode
. -
New command
dash-register-info-lookup
for integration withC-h S
(info-lookup-symbol
). This command allows Dash symbols to be looked up in the Dash manual just like Elisp symbols are looked up in the Elisp manual. The command can be called directly when needed, or automatically from youruser-init-file
. For example:(with-eval-after-load 'info-look (dash-register-info-lookup))
-
Dash is now listed under the standard Customization groups and Finder keywords
extensions
andlisp
. -
The Dash manual is now licensed under the GNU Free Documentation License version 1.3.
-
Various other bug fix, performance, byte-compilation, and documentation improvements.