aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles A. Roelli2018-10-01 21:41:11 +0200
committerCharles A. Roelli2018-10-01 21:41:11 +0200
commitdfbb207ff946792efebb31c0c59b8245c304544a (patch)
tree1dbf6bc76ef1d7176f95d95fd3d60e33ce8a8c38
parentc45789a595cc09457d54c4c878e8aae84f79d59d (diff)
downloademacs-dfbb207ff946792efebb31c0c59b8245c304544a.tar.gz
emacs-dfbb207ff946792efebb31c0c59b8245c304544a.zip
* lisp/vc/vc.el (vc-checkin): Simplify 'run-hook' call.
-rw-r--r--lisp/vc/vc.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index d3d66d6fb5f..6962664d59f 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -1536,8 +1536,7 @@ The optional argument REV may be a string specifying the new revision
1536level (only supported for some older VCSes, like RCS and CVS). 1536level (only supported for some older VCSes, like RCS and CVS).
1537 1537
1538Runs the normal hooks `vc-before-checkin-hook' and `vc-checkin-hook'." 1538Runs the normal hooks `vc-before-checkin-hook' and `vc-checkin-hook'."
1539 (when vc-before-checkin-hook 1539 (run-hooks 'vc-before-checkin-hook)
1540 (run-hooks 'vc-before-checkin-hook))
1541 (vc-start-logentry 1540 (vc-start-logentry
1542 files comment initial-contents 1541 files comment initial-contents
1543 "Enter a change comment." 1542 "Enter a change comment."