]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve doc string of 'log-edit-generate-changelog-from-diff'
authorEli Zaretskii <eliz@gnu.org>
Sat, 15 May 2021 08:06:41 +0000 (11:06 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 May 2021 08:06:41 +0000 (11:06 +0300)
* lisp/vc/log-edit.el (log-edit-generate-changelog-from-diff):
Improve the doc string.  (Bug#48269)

lisp/vc/log-edit.el

index f115a91a17586c001e88dccf290b176ba26bd08c..4a44787bb031475ad427c63faccbdefe98238efb 100644 (file)
@@ -797,11 +797,15 @@ to build the Fixes: header.")
 (declare-function diff-add-log-current-defuns "diff-mode" ())
 
 (defun log-edit-generate-changelog-from-diff ()
-  "Insert a VC commit log message by looking at the current diff.
-This command is intended to be uses on the \"*vc-log*\" buffer.
-This command will generate a ChangeLog entries listing the
-changed functions.  You can then add a description where needed,
-and use \\[fill-paragraph] to join consecutive function names."
+  "Insert a VC commit log message by looking at the current diffs.
+This command is intended to be used in the \"*vc-log*\" buffer.
+This command will generate ChangeLog entries listing the modified
+files and functions changed in those files, based on the diffs
+you are about to commit.  You can then add a description for each
+change where needed, and use \\[fill-paragraph] to join consecutive function
+names into a single entry where they all share the same description.
+Should you need to look at the diffs themselves, they can be found
+in the \"*vc-diff*\" buffer produced by this command."
   (interactive)
   (change-log-insert-entries
    (with-current-buffer