From 76f3fb856ee88d6ccc4448dfdf50050e169277c2 Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Wed, 11 Mar 2015 15:49:38 +0000 Subject: [PATCH] Fix docstring for checkdoc --- package-build.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package-build.el b/package-build.el index 013ebac7..93a5e0bb 100644 --- a/package-build.el +++ b/package-build.el @@ -197,7 +197,8 @@ be identical." (ignore-errors (version-to-list str))) (defun pb/find-tag-version-newest (regex &optional bound &rest additional-groups) - "Find the newest version matching REGEX, optionally looking only as far as BOUND." + "Find the newest version matching REGEX after point, maybe stopping at BOUND. +The first capture group 1 is examined, together with any ADDITIONAL-GROUPS." (let* ((text (buffer-substring-no-properties (or bound (point-min)) (point))) (tags (cl-remove-if-not