summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-06 06:23:59 +0200
committerThanos Apollo <[email protected]>2024-03-06 06:23:59 +0200
commitc8fc8255b9a3e2d0472ab18b8bce8de2b96d094a (patch)
tree88fa393e85de675e6af7c4a4fb81af1e3a297e24
parent3dbe007cb6ec643ac1635161c47ac5aac53c3d68 (diff)
yeetube-search: Use pop-to-buffer-same-window
-rw-r--r--yeetube.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/yeetube.el b/yeetube.el
index ef1914a..e3c63c9 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -363,9 +363,8 @@ This is used to download thumbnails from `yeetube-content'."
(toggle-enable-multibyte-characters)
(yeetube-get-content))
(yeetube-get-thumbnails yeetube-content)) ;; download thumbnails
- (with-current-buffer
- (pop-to-buffer-same-window "*yeetube*")
- (yeetube-mode)))
+ (pop-to-buffer-same-window "*yeetube*")
+ (yeetube-mode))
;;;###autoload
(defun yeetube-browse-url ()