From 6d2b0b8b78b222beaf717e10e8b3887eff6b967f Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 28 Sep 2023 01:45:04 +0300 Subject: yeetube-buffer: Fix yeetube-mode issues --- yeetube-buffer.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yeetube-buffer.el b/yeetube-buffer.el index fac444c..ef683cc 100644 --- a/yeetube-buffer.el +++ b/yeetube-buffer.el @@ -106,7 +106,8 @@ "Create *yeetube* buffer with BUFFER-MODE for QUERY, displaying CONTENT." (with-current-buffer (switch-to-buffer (get-buffer-create "*yeetube*")) - (funcall buffer-mode) + (unless buffer-mode + (funcall buffer-mode)) (erase-buffer) (pop content) ;; Remove filtes (yeetube-buffer--format-header query) -- cgit v1.2.3