Emacs: Use setq-local for setting fill-column in git-commit-mode.

This commit is contained in:
tastytea 2020-04-22 03:17:44 +02:00
parent 0299d8134a
commit 7f69324780
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-21T16:38:32+0200>
;; Time-stamp: <2020-04-21T23:40:38+0200>
;;; Commentary:
@ -13,7 +13,7 @@
(use-package git-commit
:defer 2
:config (defun my/set-git-commit-fill-column ()
(customize-set-variable 'fill-column 72))
(setq-local fill-column 72))
:hook (git-commit-mode . my/set-git-commit-fill-column))
(unless slow-computer