Make suspend-frame (C-x C-z) not try to suspend graphical emacs
It was hard to get out of and not helpful anyways
This commit is contained in:
parent
93d7f2b110
commit
165752b325
@ -230,6 +230,14 @@
|
|||||||
(graphviz-dot-indent-line))
|
(graphviz-dot-indent-line))
|
||||||
(delete-horizontal-space))))
|
(delete-horizontal-space))))
|
||||||
|
|
||||||
|
(use-package frame
|
||||||
|
:config
|
||||||
|
(defun suspend-frame ()
|
||||||
|
"If running in a secondary tty, call `suspend-tty', else nop"
|
||||||
|
(interactive)
|
||||||
|
(when (eq (framep (selected-frame)) t)
|
||||||
|
(suspend-tty))))
|
||||||
|
|
||||||
;;;; external packages (required)
|
;;;; external packages (required)
|
||||||
(use-package company :ensure
|
(use-package company :ensure
|
||||||
:config
|
:config
|
||||||
|
Loading…
Reference in New Issue
Block a user