From 8c5deda9e3fd57bdb64a62ceb571b5f78a0ad219 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 11 Oct 2016 13:19:55 +0200 Subject: [PATCH] Remove third argument from doom/popup-close* fns --- core/core-helm.el | 4 ++-- core/defuns/defuns-popups.el | 4 ++-- modules/defuns/defuns-quickrun.el | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/core-helm.el b/core/core-helm.el index 0068d8b92..4fde161c6 100644 --- a/core/core-helm.el +++ b/core/core-helm.el @@ -159,10 +159,10 @@ ;; This prevents helm-ag from switching between windows and buffers. (defadvice helm-ag--edit-abort (around helm-ag-edit-abort-popup-compat activate) (cl-letf (((symbol-function 'select-window) 'ignore)) ad-do-it) - (doom/popup-close nil t t)) + (doom/popup-close nil t)) (defadvice helm-ag--edit-commit (around helm-ag-edit-commit-popup-compat activate) (cl-letf (((symbol-function 'select-window) 'ignore)) ad-do-it) - (doom/popup-close nil t t)) + (doom/popup-close nil t)) (defadvice helm-ag--edit (around helm-ag-edit-popup-compat activate) (cl-letf (((symbol-function 'other-window) 'ignore) ((symbol-function 'switch-to-buffer) 'doom/popup-buffer)) diff --git a/core/defuns/defuns-popups.el b/core/defuns/defuns-popups.el index f9a0a0efa..8c45ee058 100644 --- a/core/defuns/defuns-popups.el +++ b/core/defuns/defuns-popups.el @@ -49,7 +49,7 @@ window. Returns nil or the popup window." `(let ((popup-p (doom/popups-p)) (in-popup-p (doom/popup-p))) (when popup-p - (doom/popup-close-all t t)) + (doom/popup-close-all t)) (prog1 ,@body (when popup-p @@ -101,7 +101,7 @@ window. Returns nil or the popup window." "Closes all popups (kill them if DONT-KILL-BUFFERS is non-nil)." (interactive) (let ((orig-win (selected-window))) - (mapc (lambda (w) (doom/popup-close w dont-kill t)) + (mapc (lambda (w) (doom/popup-close w dont-kill)) (--filter (and (doom/popup-p it) (not (eq it orig-win))) (window-list))))) diff --git a/modules/defuns/defuns-quickrun.el b/modules/defuns/defuns-quickrun.el index b32a405fe..cd8d2bb8f 100644 --- a/modules/defuns/defuns-quickrun.el +++ b/modules/defuns/defuns-quickrun.el @@ -85,7 +85,7 @@ elisp buffer). Otherwise forward the region to Quickrun." "Allows us to re-run quickrun from inside the quickrun buffer." (awhen (get-buffer-window quickrun/buffer-name) (shut-up! (quickrun/kill-running-process)) - (doom/popup-close it nil t))) + (doom/popup-close it nil))) ;;;###autoload (defun doom|quickrun-after-run ()