We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
split-window-vertically
split-window-below
1 parent 250c622 commit 19c5324Copy full SHA for 19c5324
json-mode.el
@@ -79,10 +79,12 @@
79
;; delete the window if we have one,
80
;; so we can recreate it in the correct position
81
(if temp-window
82
- (delete-window temp-window))
+ (delete-window temp-window))
83
84
;; always put the temp window below the json window
85
- (set-window-buffer (split-window-below) temp-name))
+ (set-window-buffer (if (fboundp 'split-window-below)
86
+ (split-window-below)
87
+ (split-window-vertically)) temp-name))
88
))
89
90
(define-key json-mode-map (kbd "C-c C-p") 'json-mode-show-path)
0 commit comments