From af9a137fe83f28decac03fcebec3ca3020e910de Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 10 Nov 2025 15:14:13 +0000 Subject: [PATCH] ; vc-start-logentry: Require log-edit (bug#79803) * lisp/vc/vc-dispatcher.el (vc-start-logentry): Require log-edit (bug#79803). --- lisp/vc/vc-dispatcher.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/vc/vc-dispatcher.el b/lisp/vc/vc-dispatcher.el index 8d23ab13edd..39db738894a 100644 --- a/lisp/vc/vc-dispatcher.el +++ b/lisp/vc/vc-dispatcher.el @@ -870,7 +870,8 @@ DIFF-FUNCTION is `log-edit-diff-function' for the Log Edit buffer." ;; `log-edit-show-files' and `log-edit-maybe-show-diff' which ;; don't make sense if the user is not going to do any ;; editing, and can cause unexpected window layout changes. - (log-edit-hook (and (not immediate) log-edit-hook))) + (log-edit-hook (and (not immediate) + (require 'log-edit) log-edit-hook))) (vc-log-edit files mode backend diff-function)) (make-local-variable 'vc-log-after-operation-hook) (when after-hook