From c725c4d789ba6d1a7fa2ee3107fe443639bae724 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 9 May 2024 19:54:35 +1000 Subject: [emacs] disable which-function in json mode when buffer is big --- emacs/.emacs.d/init/ycp-markup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/.emacs.d/init') diff --git a/emacs/.emacs.d/init/ycp-markup.el b/emacs/.emacs.d/init/ycp-markup.el index 843accd..e03fd86 100644 --- a/emacs/.emacs.d/init/ycp-markup.el +++ b/emacs/.emacs.d/init/ycp-markup.el @@ -101,7 +101,7 @@ (:delay 30) (:install t) (require 'my-prog) - (add-hook 'json-mode-hook 'my-json-set-header-line-hook) + (add-hook 'json-mode-hook 'my-json-setup-hook) ) (provide 'ycp-markup) -- cgit v1.2.3