From 1fc3e22fd554ba067b62ee17cea56f6f9b1b50ef Mon Sep 17 00:00:00 2001 From: David Reitter Date: Fri, 3 Mar 2017 14:12:37 -0800 Subject: [PATCH] Do not advise delete-window Increase compatibility with packages (presumably) --- one-buffer-one-frame.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/one-buffer-one-frame.el b/one-buffer-one-frame.el index 7d21dca..150d9a8 100644 --- a/one-buffer-one-frame.el +++ b/one-buffer-one-frame.el @@ -645,8 +645,7 @@ even if it's the only visible frame." (select-window window) (if (one-window-p t) (aquamacs-delete-frame) - (old-delete-window (selected-window)))) -;; old-delete-window is the original emacs delete-window. + (delete-window (selected-window)))) (defun delete-window-if-one-buffer-one-frame () ;; only delete window when tabbar-mode is not on!