General cleanup

This commit is contained in:
Henrik Lissner 2016-04-19 02:08:48 -04:00
parent 0a4f4094b5
commit d506d8690e
12 changed files with 24 additions and 48 deletions

View file

@ -1,9 +1,5 @@
;;; defuns-popups.el
(defun narf*popup-add (&rest _)
(add-to-list 'narf-popup-windows (get-buffer-window shackle-last-buffer)))
(advice-add 'shackle-display-buffer :after 'narf*popup-add)
(defun narf--popup-remove (window)
(setq narf-popup-windows (delete window narf-popup-windows)))