diff options
author | Kenny Ballou <kb@devnulllabs.io> | 2024-01-06 13:04:30 -0700 |
---|---|---|
committer | Kenny Ballou <kb@devnulllabs.io> | 2024-01-06 13:04:30 -0700 |
commit | 9556fa71fc5dd048e17033c204519638928258a2 (patch) | |
tree | d1c82e5a284f42fbaa115c35054f981f7c9d45f5 /config/emacs/emacs.d/emacs.org | |
parent | 94a2a60f6fc400295c741bc54b49a7281b61de64 (diff) | |
download | dotfiles-9556fa71fc5dd048e17033c204519638928258a2.tar.gz dotfiles-9556fa71fc5dd048e17033c204519638928258a2.tar.xz |
config: emacs: refactor git-commit-mode config
Rename personal hook and move comments out of code blocks.
Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'config/emacs/emacs.d/emacs.org')
-rw-r--r-- | config/emacs/emacs.d/emacs.org | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/emacs/emacs.d/emacs.org b/config/emacs/emacs.d/emacs.org index 77c5156e..a0b67b62 100644 --- a/config/emacs/emacs.d/emacs.org +++ b/config/emacs/emacs.d/emacs.org @@ -1975,15 +1975,15 @@ https://matthewbauer.us/blog/bauer.html (use-package with-editor) #+end_src +Some added additions from +https://www.reddit.com/r/emacs/comments/96r8us/tip_how_to_get_started_with_git/ + #+begin_src elisp -;; Some added additions from -;; https://www.reddit.com/r/emacs/comments/96r8us/tip_how_to_get_started_with_git/ (use-package git-commit :after with-editor magit - :hook - (git-commit-mode . my/git-commit-config-setup) + :hook (git-commit-mode . kb/git-commit-config-setup) :preface - (defun my/git-commit-config-setup () + (defun kb/git-commit-config-setup () "Configures several commit message settings." (goto-address-mode) (set-fill-column 72) |