branch: externals/vc-jj commit fcbc1882a09321a6c0fb7d2628bf7c234aa2bedc Author: Rudi Schlatte <r...@constantly.at> Commit: Rudi Schlatte <r...@constantly.at>
Also initialize log-edit-mode when not called from vc Further fixes #83 --- vc-jj.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vc-jj.el b/vc-jj.el index 54e007d7a2..fe5e529b39 100644 --- a/vc-jj.el +++ b/vc-jj.el @@ -847,6 +847,8 @@ the command to run, e.g., the semi-standard \"jj git push -c @-\"." ;;;###autoload (add-hook 'vc-log-mode-hook #'vc-jj-ensure-log-edit-callback) ;;;###autoload +(add-hook 'log-edit-mode-hook #'vc-jj-ensure-log-edit-callback) +;;;###autoload (defun vc-jj-ensure-log-edit-callback () "Set up `log-edit-callback' when editing jj commit messages." (unless log-edit-callback