diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-07 11:43:33 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-07 13:19:10 -0700 |
commit | f0dae9e4d2da83f79ce7dd6a2f7eb347d722c969 (patch) | |
tree | d6425f021fe53cfb2c70dafec111b845aa1d2be2 | |
parent | 16844794d8b2a50a6e98c457a0ae3ff957f06308 (diff) | |
download | dotfiles-f0dae9e4d2da83f79ce7dd6a2f7eb347d722c969.tar.gz |
probably want to use tabs not frames unless under X or Wayland
-rw-r--r-- | .emacs.d/init-spw.el | 2 |
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 () |