diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2020-06-09 16:17:59 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2020-06-09 16:17:59 +0200 |
| commit | 793e387a508984ae2586b93ff78afddf7a1164ac (patch) | |
| tree | 74fc4427de84f428e161fcc28d2f63d1d035d062 /lisp/magit-commit.el | |
| parent | 5341b7cd61258d2ad1e0511a50ece0f1221a718d (diff) | |
magit-commit-diff: Add to with-editor-filter-visit-hook
Diffstat (limited to 'lisp/magit-commit.el')
| -rw-r--r-- | lisp/magit-commit.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/magit-commit.el b/lisp/magit-commit.el index 511c422..3a3d81d 100644 --- a/lisp/magit-commit.el +++ b/lisp/magit-commit.el @@ -532,6 +532,7 @@ See `magit-commit-absorb' for an alternative implementation." ;; Mention `magit-diff-while-committing' because that's ;; always what I search for when I try to find this line. (add-hook 'server-switch-hook 'magit-commit-diff) +(add-hook 'with-editor-filter-visit-hook 'magit-commit-diff) (add-to-list 'with-editor-server-window-alist (cons git-commit-filename-regexp 'switch-to-buffer)) |
