From 2987818804f7435a616f75b696a018966c0c310a Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 29 Jun 2023 20:01:51 +1000 Subject: some minor changes --- emacs/.emacs.d/init/ycp-vc.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'emacs/.emacs.d/init/ycp-vc.el') 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) -- cgit v1.2.3