General cleanup & refector; update TODO.org

This commit is contained in:
Henrik Lissner 2017-05-12 12:14:17 +02:00
parent 9cfdd9a413
commit 7fbaf2ced1
5 changed files with 23 additions and 11 deletions

View file

@ -18,8 +18,7 @@ current window if omitted."
(declare (indent defun))
(unless (bufferp buffer)
(error "%s is not a valid buffer" buffer))
(when (and plist (not (plist-member plist :align)))
(plist-put plist :align t))
(setq plist (doom*shackle-always-align plist))
(shackle-display-buffer
buffer
nil (or plist (shackle-match buffer))))