Browse Source

Update

master
10sr 3 years ago
parent
commit
97370f2ee0
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      emacs.el

+ 5
- 5
emacs.el View File

@@ -1777,11 +1777,11 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
(when (fboundp 'gited-list) (when (fboundp 'gited-list)
(defalias 'gited 'gited-list)) (defalias 'gited 'gited-list))


(when (fboundp 'global-git-commit-mode)
(add-hook 'after-first-visit-hook
'global-git-commit-mode)
(add-hook 'after-first-visit-hook
'git-commit-setup-check-buffer))
(when (require 'git-commit nil t)
;; git-commit is defined badly and breaks the convention that only loading a
;; library should not change the Emacs behavior:
;; anyway I enable this manually here.
(global-git-commit-mode 1))
(with-eval-after-load 'git-commit (with-eval-after-load 'git-commit
(add-hook 'git-commit-setup-hook (add-hook 'git-commit-setup-hook
'turn-off-auto-fill t)) 'turn-off-auto-fill t))


Loading…
Cancel
Save