aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2024-05-09 19:54:35 +1000
committerYuchen Pei <id@ypei.org>2024-05-09 19:54:35 +1000
commitc725c4d789ba6d1a7fa2ee3107fe443639bae724 (patch)
tree910716493f4a0ca604024d5e6a9881911d2a8677 /emacs/.emacs.d/init
parent13ab7e08cb0abe626f9c5cf678b6049db7251909 (diff)
[emacs] disable which-function in json mode when buffer is big
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r--emacs/.emacs.d/init/ycp-markup.el2
1 files changed, 1 insertions, 1 deletions
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)