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 ;; 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