From 448a7ff51312d26c1ea9e76385c7e352d9ec12a0 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 10 Dec 2022 02:08:38 -0500 Subject: org-maint-check-for-new: Rewrite docstring --- org-maint.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/org-maint.el b/org-maint.el index fe411fe..af1f7a1 100644 --- a/org-maint.el +++ b/org-maint.el @@ -64,10 +64,11 @@ If APPLY is non-nil, use 'git apply' instead of 'git am'." (user-error "Next revision item not found")))) (defun org-maint-check-for-new () - "Check for new commits to backport. -The last commit found is assumed to be the return value of -`org-maint-rev-from-next-item', and Emacs ref name that should be -checked is taken from the Org \"ref\" property." + "Check for new commits in the Emacs repository to port. +Determine \"new\" commits by looking for commits that 1) touch +Org files, 2) are contained in the Emacs reference specified by +the Org \"ref\" property, and 3) are _not_ included in the +revision returned by `org-maint-rev-from-next-item'." (interactive) (let ((ref (or (org-entry-get (point) "ref") (user-error "No reference found"))) -- cgit v1.2.3