Compare commits

...

1 commit

Author SHA1 Message Date
Benson Chu
aadb9ea399 I want mail aliases in my commit message buffers 2025-08-08 15:03:36 -05:00

View file

@ -226,5 +226,16 @@
(when my-ec/enable-mail
(require 'work-mail))
(defun always-expand-mail-abbrevs-in-commit-buffer (orig)
(or with-editor-mode
(funcall orig)))
(add-hook 'with-editor-mode-hook
#'mail-abbrevs-setup)
(advice-add #'mail-abbrev-in-expansion-header-p
:around
#'always-expand-mail-abbrevs-in-commit-buffer)
(provide 'work-config)
;;; work-config.el ends here