Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark functions with important-return-value
* dash.el: Include important-return-value in defun-declarations-alist as needed to pacify warnings in Emacs < 30. (-map, -reduce-from, -reduce, -reduce-r-from, -reduce-r) (-reductions-from, -reductions, -reductions-r-from, -reductions-r) (-filter, -remove, -remove-first, -remove-last, -keep, -map-indexed) (-map-when, -map-first, -map-last, -mapcat, -iterate, -splice) (-splice-list, -first, -some, -every, -last, -count, -any?, -all?) (-none?, -only-some?, -take-while, -drop-while, -update-at) (-split-with, -split-when, -separate, -partition-by) (-partition-by-header, -partition-after-pred) (-partition-before-pred, -group-by, -zip-with, -annotate, -table) (-table-flat, -find-index, -find-indices, -find-last-index) (-grade-up, -grade-down, -distinct, -union, -intersection) (-difference, -frequencies, -permutations, -contains?, -same-items?) (-sort, -max-by, -min-by, -fix, -unfold, -tree-mapreduce-from) (-tree-mapreduce, -tree-map, -tree-reduce-from, -tree-reduce) (-tree-seq, -fixfn): Mark as having important-return-value. (-snoc, -partition-after-item, -partition-before-item, -powerset) (-inits, -tails, -common-suffix, -iteratefn, -counter): Declare pure and side-effect-free. * dev/examples.el (-every, -sort): Pacify unused value warnings. * README.md: * dash.texi: Regenerate docs.
- Loading branch information