* lisp/vc/vc.el (vc-checkin): Simplify 'run-hook' call.
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user