summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2020-04-04 12:28:23 -0400
committerNoam Postavsky <npostavs@gmail.com>2020-04-04 20:08:02 -0400
commitf8607d3c03544afbe32c6bd324c287db305e569e (patch)
tree8456e415656c1d90f90e05a3e634479181cdc544 /lisp
parent7e78f0d1b26557b1af95c542cc95cff131c18ec8 (diff)
downloademacs-f8607d3c03544afbe32c6bd324c287db305e569e.tar.gz
emacs-f8607d3c03544afbe32c6bd324c287db305e569e.tar.bz2
emacs-f8607d3c03544afbe32c6bd324c287db305e569e.zip
Handle filling of indented ChangeLog function entries
* lisp/vc/log-edit.el (log-edit-fill-entry): Relax regexp a bit to recognize function entries with leading blanks. * test/lisp/vc/log-edit-tests.el: New test.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/vc/log-edit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el
index d5d46147cf7..906f9a94205 100644
--- a/lisp/vc/log-edit.el
+++ b/lisp/vc/log-edit.el
@@ -529,7 +529,7 @@ according to `fill-column'."
(and (< beg end)
(re-search-forward
(concat "\\(?1:" change-log-unindented-file-names-re
- "\\)\\|^\\(?1:\\)(")
+ "\\)\\|^\\(?1:\\)[[:blank:]]*(")
end t)
(copy-marker (match-end 1)))
;; Fill prose between log entries.