diff options
| author | 2025-01-30 10:04:52 -0800 | |
|---|---|---|
| committer | 2025-01-30 10:04:52 -0800 | |
| commit | 71882f577b4c0e8a84f97541bd2c7326e361147c (patch) | |
| tree | 910f7c9b6b776e285c6c767d594f2083e0bec902 | |
| parent | 296ff541e7cfbd7fd6c721566328e2f38a91a99d (diff) | |
| download | emacs-config-71882f577b4c0e8a84f97541bd2c7326e361147c.tar.gz emacs-config-71882f577b4c0e8a84f97541bd2c7326e361147c.zip | |
oni-git-commit: Make sure refill doesn't refill git commit comments
Re-add the advice around ‘refill-after-change-function’ every time that the
function's library is loaded.
| -rw-r--r-- | oni-git-commit.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/oni-git-commit.el b/oni-git-commit.el index 9aaa487..a3fad51 100644 --- a/oni-git-commit.el +++ b/oni-git-commit.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2022.1207.083737 +;; Version: 2025.0130.100352 ;; Package-Requires: (git-commit) ;; This program is free software; you can redistribute it and/or modify @@ -49,8 +49,9 @@ (add-hook 'git-commit-mode-hook 'electric-quote-local-mode) (add-hook 'git-commit-mode-hook 'refill-mode) -(add-function :after (symbol-function 'refill-after-change-function) - #'oni-git-commit-disable-comment-refill) +(with-eval-after-load 'refill + (add-function :after (symbol-function 'refill-after-change-function) + #'oni-git-commit-disable-comment-refill)) (provide 'oni-git-commit) ;;; oni-git-commit.el ends here |
