From 89a172b1de2e19753d58d23f5e3c763c14179d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= Date: Thu, 8 Aug 2024 17:40:27 +0300 Subject: [PATCH 3/3] ; Highlight git commit summary after 50 characters in Magit Highlight summary line of git commit after 50 characters as mention in CONTRIBUTE when commit with Magit's git-commit-mode. --- .dir-locals.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.dir-locals.el b/.dir-locals.el index c74da88a811..e483b04f0c8 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -43,6 +43,7 @@ (fill-column . 74) (mode . bug-reference))) (diff-mode . ((mode . whitespace))) + (git-commit-major-mode . ((git-commit-summary-max-length . 50))) (emacs-lisp-mode . ((indent-tabs-mode . nil) (electric-quote-comment . nil) (electric-quote-string . nil) -- 2.45.2