Emacs: Fix magit commit error on newer versions

`git-commit-fill-column` is deprecated.
master
Pierre Neidhardt 2016-12-23 19:38:39 +01:00
parent b6552629d3
commit c7177070bd
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ To view where the bindings are set in your config files, lookup
(add-to-list 'package-selected-packages 'magit)
(when (require 'magit nil t)
(set-face-foreground 'magit-branch-remote "orange red")
(setq git-commit-summary-max-length git-commit-fill-column)
(setq git-commit-summary-max-length fill-column)
(setq magit-diff-refine-hunk 'all)
(global-set-key (kbd "C-x g") 'magit-status))