branch: elpa/hyperdrive commit ec906b9e81becf89631ef52dbad10ed0590fc84c Author: Adam Porter <a...@alphapapa.net> Commit: Adam Porter <a...@alphapapa.net>
Docs: Use lm-version in macro --- doc/doc-setup.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/doc-setup.org b/doc/doc-setup.org index 964a03d321..624cf11060 100644 --- a/doc/doc-setup.org +++ b/doc/doc-setup.org @@ -39,4 +39,4 @@ # returns major.minor version number. This is sufficient since bugfix # releases are not expected to add features and therefore imply manual # modifications. -#+macro: version (eval (with-current-buffer (find-file-noselect "../hyperdrive.el") (org-with-point-at 1 (if (re-search-forward "Version: +\\([^\s\n]+\\)" nil t) (match-string-no-properties 1) (error "Missing \"Version\" keyword in \"org.el\""))))) +#+macro: version (eval (progn (require 'lisp-mnt) (lm-version "../hyperdrive.el")))