From: Sean Whitton Date: Sat, 12 Oct 2024 08:58:25 +0000 (+0800) Subject: ; Revise docstring from last change X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa0576aaec3e98b3df9565f9013b006cde8c0857;p=emacs.git ; Revise docstring from last change (cherry picked from commit 16e835171a8ce388e581174925e47263e864727d) --- diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index 4cdcfe5cb96..856bea66a6f 100644 --- a/lisp/vc/vc-hg.el +++ b/lisp/vc/vc-hg.el @@ -397,11 +397,11 @@ specific file to query." (defun vc-hg-print-log (files buffer &optional shortlog start-revision limit) "Print commit log associated with FILES into specified BUFFER. If SHORTLOG is non-nil, use a short format based on `vc-hg-root-log-format'. -If LIMIT is non-nil, show no more than this many entries. +If LIMIT is a positive integer, show no more than that many entries. -If START-REVISION is nil, the commit log is printed starting from the -working directory parent (revset \".\"). If START-REVISION is non-nil, -the log is printed starting from that revision." +If START-REVISION is nil, print the commit log starting from the working +directory parent (revset \".\"). If START-REVISION is a string, print +the log starting from that revision." ;; `vc-do-command' creates the buffer, but we need it before running ;; the command. (vc-setup-buffer buffer)