summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-08-07 11:43:33 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-08-07 13:19:10 -0700
commitf0dae9e4d2da83f79ce7dd6a2f7eb347d722c969 (patch)
treed6425f021fe53cfb2c70dafec111b845aa1d2be2
parent16844794d8b2a50a6e98c457a0ae3ff957f06308 (diff)
downloaddotfiles-f0dae9e4d2da83f79ce7dd6a2f7eb347d722c969.tar.gz
probably want to use tabs not frames unless under X or Wayland
-rw-r--r--.emacs.d/init-spw.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el
index 5ae49497..9e5a48ac 100644
--- a/.emacs.d/init-spw.el
+++ b/.emacs.d/init-spw.el
@@ -1285,7 +1285,7 @@ Used in my `message-mode' yasnippets."
Should be t when do not have a good way to handle having lots of
open frames, as I do have under i3 with its tabbed layout (which
I use by default)."
- (or (not (display-graphic-p))
+ (or (not (memq (framep (selected-frame)) '(x)))
(not (member (getenv "DESKTOP_SESSION") '("i3")))))
(defun spw/save-buffer-for-later ()