git-auto-commit-mode.el

This commit is contained in:
Thibaut Verron 2019-11-21 13:04:33 +01:00
parent 4a8a7e0271
commit a597d6920a

View file

@ -138,6 +138,11 @@ STRING is the output line from PROC."
Default to FILENAME." Default to FILENAME."
(let ((relative-filename (gac-relative-file-name filename))) (let ((relative-filename (gac-relative-file-name filename)))
(if (not gac-ask-for-summary-p) (if (not gac-ask-for-summary-p)
(if gac-default-message
(if (functionp gac-default-message)
(gac-default-message)
gac-default-message)
relative-filename)
(or gac-default-message relative-filename) (or gac-default-message relative-filename)
(read-string "Summary: " nil nil relative-filename)))) (read-string "Summary: " nil nil relative-filename))))