1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

* lisp/vc/vc.el (vc-checkin): Simplify 'run-hook' call.

This commit is contained in:
Charles A. Roelli 2018-10-01 21:41:11 +02:00
parent c45789a595
commit dfbb207ff9

View file

@ -1536,8 +1536,7 @@ The optional argument REV may be a string specifying the new revision
level (only supported for some older VCSes, like RCS and CVS).
Runs the normal hooks `vc-before-checkin-hook' and `vc-checkin-hook'."
(when vc-before-checkin-hook
(run-hooks 'vc-before-checkin-hook))
(run-hooks 'vc-before-checkin-hook)
(vc-start-logentry
files comment initial-contents
"Enter a change comment."