Remove mac-start-animation calls
This commit is contained in:
parent
0897e5e34b
commit
5d350a7542
2 changed files with 1 additions and 6 deletions
|
@ -88,10 +88,7 @@ Inspired from http://demonastery.org/2013/04/emacs-evil-narrow-region/"
|
||||||
(let ((bname (buffer-name)))
|
(let ((bname (buffer-name)))
|
||||||
(cond ((string-match-p "^\\*scratch\\*" bname)
|
(cond ((string-match-p "^\\*scratch\\*" bname)
|
||||||
(erase-buffer))
|
(erase-buffer))
|
||||||
(t
|
(t (kill-this-buffer))))
|
||||||
(when window-system
|
|
||||||
(mac-start-animation (get-buffer-window) :type 'fade-out :duration 0.3))
|
|
||||||
(kill-this-buffer))))
|
|
||||||
(if (narf/popup-p (current-buffer))
|
(if (narf/popup-p (current-buffer))
|
||||||
(narf/popup-close)
|
(narf/popup-close)
|
||||||
(unless (narf/real-buffer-p (current-buffer))
|
(unless (narf/real-buffer-p (current-buffer))
|
||||||
|
|
|
@ -103,8 +103,6 @@
|
||||||
(narf:workgroup-display)
|
(narf:workgroup-display)
|
||||||
(let ((wgs (wg-workgroup-list-or-error)))
|
(let ((wgs (wg-workgroup-list-or-error)))
|
||||||
(unless (eq (nth index wgs) (wg-current-workgroup t))
|
(unless (eq (nth index wgs) (wg-current-workgroup t))
|
||||||
(when (and IS-MAC window-system)
|
|
||||||
(mac-start-animation (window-frame (get-buffer-window)) :type 'fade-out :duration 0.75))
|
|
||||||
(wg-switch-to-workgroup-at-index index)
|
(wg-switch-to-workgroup-at-index index)
|
||||||
(narf:workgroup-display))))
|
(narf:workgroup-display))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue