From fe3b5b3f4599fb607ef03a99080b189464531da7 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sun, 12 Apr 2015 16:10:22 +0100 Subject: [PATCH] * test/automated/package-test.el (with-package-test): Kill Packages buffer --- test/automated/package-test.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/automated/package-test.el b/test/automated/package-test.el index 2fbcfd06140..4385ee0bd48 100644 --- a/test/automated/package-test.el +++ b/test/automated/package-test.el @@ -125,6 +125,9 @@ '((package-test-archive-upload-base (make-temp-file "pkg-archive-base-" t)) (package-archive-upload-base package-test-archive-upload-base)) (list (cl-gensym)))) ;; Dummy value so `let' doesn't try to bind `nil' + (let ((buf (get-buffer "*Packages*"))) + (when (buffer-live-p buf) + (kill-buffer buf))) (unwind-protect (progn ,(if basedir `(cd ,basedir)) -- 2.39.2