diff options
author | Yuchen Pei <id@ypei.org> | 2024-06-13 20:09:32 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-06-13 20:09:32 +1000 |
commit | a04387f9065f87eb7126a031cd36f7fdb9140b1b (patch) | |
tree | b21eca85ef21545eac6f24380ec2cd7b9d0eceef /emacs | |
parent | 97228e1f579a8c31eb25d01ef7f5889a24b87a67 (diff) |
[emacs] json-mode required too early in my-prog
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-prog.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-prog.el b/emacs/.emacs.d/lisp/my/my-prog.el index 0d045be..9c75a22 100644 --- a/emacs/.emacs.d/lisp/my/my-prog.el +++ b/emacs/.emacs.d/lisp/my/my-prog.el @@ -413,8 +413,8 @@ left and the source buffer on the right. 'my-bison-imenu-create-index)) ;;; json-mode -(require 'json-mode) (defun my-json-mode-path () + (require 'json-mode) (string-join (mapcar 'prin1-to-string (plist-get (json-path-to-position (point)) :path)) "/")) |