diff --git a/dev/examples-to-docs.el b/dev/examples-to-docs.el index 20e808d..d2ac648 100644 --- a/dev/examples-to-docs.el +++ b/dev/examples-to-docs.el @@ -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)))) diff --git a/readme-template.md b/readme-template.md index 875f5f0..6cc06b7 100644 --- a/readme-template.md +++ b/readme-template.md @@ -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!