aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/lisp/my/my-prog.el2
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))
"/"))