Use actual dash-functional.el version in README

* readme-template.md (Using in a package): Don't hard-code package
version of dash-functional.el.

* dev/examples-to-docs.el (create-docs-file): Substitute package
version of dash-functional.el alongside that of dash.el.
master
Basil L. Contovounesios 5 years ago
parent ac1f66a41e
commit 8879c41d30
No known key found for this signature in database
GPG Key ID: 205AB54A5D5D8CFF
  1. 4
      dev/examples-to-docs.el
  2. 4
      readme-template.md

@ -189,7 +189,9 @@ FUNCTION may reference an elisp function, alias, macro or a subr."
(goto-and-remove "[[ function-docs ]]")
(insert (mapconcat 'function-to-md functions "\n"))
(goto-and-replace-all "[[ version ]]" (lm-version "dash.el"))
(dolist (pkg '(dash dash-functional))
(goto-and-replace-all (format "[[ %s-version ]]" pkg)
(lm-version (format "%s.el" pkg))))
(simplify-quotes))))

@ -25,11 +25,11 @@ If you want the function combinators, then also:
Add something like this to the [library's
headers](https://gnu.org/software/emacs/manual/html_node/elisp/Library-Headers.html):
;; Package-Requires: ((dash "[[ version ]]"))
;; Package-Requires: ((dash "[[ dash-version ]]"))
To get function combinators:
;; Package-Requires: ((dash "[[ version ]]") (dash-functional "1.2.0"))
;; Package-Requires: ((dash "[[ dash-version ]]") (dash-functional "[[ dash-functional-version ]]"))
## Upcoming breaking change!

Loading…
Cancel
Save