summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube-buffer.el3
1 files changed, 2 insertions, 1 deletions
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)