summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2019-07-04 20:32:39 -0400
committerNoam Postavsky <npostavs@gmail.com>2019-08-03 20:14:52 -0400
commit01661f33c11654d1fe5fe1013332db2500b7f449 (patch)
treed46bd831f134d495373c8eb389c11f95d7c6028a /etc
parent2d47483e815979d0ae0edd6f878b7fbb85fd72fa (diff)
downloademacs-01661f33c11654d1fe5fe1013332db2500b7f449.tar.gz
Improved ChangeLog generation for vc log (Bug#16301)
* lisp/vc/diff-mode.el (diff-find-source-location): Fix docstring. * lisp/vc/add-log.el (change-log-unindented-file-names-re) (change-log-read-entries, change-log-read-defuns) (change-log-insert-entries): * lisp/vc/diff-mode.el (diff-add-log-current-defuns): * lisp/vc/log-edit.el (log-edit--insert-filled-defuns) (log-edit-fill-entry): New functions. (log-edit-mode): Set `log-edit-fill-entry' as `fill-paragraph-function'. (log-edit-generate-changelog-from-diff): New command. (log-edit-mode-map): Bind it to C-c C-w. * doc/emacs/maintaining.texi (Types of Log File, Log Buffer): * CONTRIBUTE: Document it. * etc/NEWS: Announce it. * test/lisp/vc/log-edit-tests.el (log-edit-fill-entry) (log-edit-fill-entry-joining): New tests.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index cefbe84fc8e..0c7e421ed9c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -674,6 +674,10 @@ The default value is 'find-dired-sort-by-filename'.
** Change Logs and VC
++++
+*** New command 'log-edit-generate-changelog', bound to C-c C-w.
+This generates ChangeLog entries from the VC fileset diff.
+
*** Recording ChangeLog entries doesn't require an actual file.
If a ChangeLog file doesn't exist, and if the new variable
'add-log-dont-create-changelog-file' is non-nil (which is the