Remove mac-start-animation calls

This commit is contained in:
Henrik Lissner 2015-11-24 03:45:02 -05:00
parent 0897e5e34b
commit 5d350a7542
2 changed files with 1 additions and 6 deletions

View file

@ -88,10 +88,7 @@ Inspired from http://demonastery.org/2013/04/emacs-evil-narrow-region/"
(let ((bname (buffer-name)))
(cond ((string-match-p "^\\*scratch\\*" bname)
(erase-buffer))
(t
(when window-system
(mac-start-animation (get-buffer-window) :type 'fade-out :duration 0.3))
(kill-this-buffer))))
(t (kill-this-buffer))))
(if (narf/popup-p (current-buffer))
(narf/popup-close)
(unless (narf/real-buffer-p (current-buffer))