Make config more emacsclient-friendly

This commit is contained in:
Henrik Lissner 2017-04-22 01:49:15 -04:00
parent 72bf9df905
commit b47b951a41
5 changed files with 24 additions and 10 deletions

View file

@ -85,7 +85,9 @@ is enabled/disabled.'")
(tabulated-list-mode :noesc t)))
:config
(shackle-mode 1)
(if (display-graphic-p)
(shackle-mode +1)
(add-transient-hook! 'after-make-frame-functions (shackle-mode +1)))
(defun doom*shackle-always-align (plist)
"Ensure popups are always aligned and selected by default. Eliminates the need