Emacs: Use setq-local for setting fill-column in git-commit-mode.
This commit is contained in:
parent
0299d8134a
commit
7f69324780
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user