mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 17:46:14 +01:00
Remove debug print
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
e01811711e
commit
04d61eb94a
|
@ -42,7 +42,7 @@ Disable window changing using the mouse, it saves me from accidental switches.
|
||||||
(when (eq 1 (length (get-buffer-window-list buffer nil t)))
|
(when (eq 1 (length (get-buffer-window-list buffer nil t)))
|
||||||
(when (frame-parameter frame 'unsplittable)
|
(when (frame-parameter frame 'unsplittable)
|
||||||
(with-current-buffer buffer
|
(with-current-buffer buffer
|
||||||
(when (equal major-mode #'vterm-mode) (message "VTERM") (kill-process (get-buffer-process buffer)))
|
(when (equal major-mode #'vterm-mode) (kill-process (get-buffer-process buffer)))
|
||||||
(kill-buffer buffer))))))))
|
(kill-buffer buffer))))))))
|
||||||
(add-to-list 'delete-frame-functions #'maybe-delete-frame-buffer)
|
(add-to-list 'delete-frame-functions #'maybe-delete-frame-buffer)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue