aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-vc.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-06-29 20:01:51 +1000
committerYuchen Pei <id@ypei.org>2023-06-29 20:01:51 +1000
commit2987818804f7435a616f75b696a018966c0c310a (patch)
tree9dc74c5b8e4777cbed732fb3e8594b3aee27bf72 /emacs/.emacs.d/init/ycp-vc.el
parent947ee69d9d34d9b20e206b4c224c49022082d8b8 (diff)
some minor changes
Diffstat (limited to 'emacs/.emacs.d/init/ycp-vc.el')
-rw-r--r--emacs/.emacs.d/init/ycp-vc.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init/ycp-vc.el b/emacs/.emacs.d/init/ycp-vc.el
index 1f52df6..abd02d1 100644
--- a/emacs/.emacs.d/init/ycp-vc.el
+++ b/emacs/.emacs.d/init/ycp-vc.el
@@ -84,7 +84,7 @@
(:install t)
;; diff-hl-mode can slow down things in buffers visiting large
;; files, so here we only enable it for prog-mode
- (add-hook 'prog-mode-hook diff-hl-mode)
+ (add-hook 'prog-mode-hook #'diff-hl-mode)
(diff-hl-flydiff-mode))
(my-package diffview
@@ -95,7 +95,6 @@
(my-package git-commit
(:install t)
(:delay 30)
- (setq git-commit-summary-max-length 50)
(setq git-commit-style-convention-checks '(non-empty-second-line))
;; Refresh all buffers in the project after a commit for diff-hl
(require 'my-diff-hl)