diff options
author | Thanos Apollo <[email protected]> | 2024-01-09 20:35:12 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-09 20:35:12 +0200 |
commit | 7d6985302422fdc8df0562aee223d1233d8a0946 (patch) | |
tree | 3593486f40c7231ce983c5aea2e76b4ec12fc74f | |
parent | cd5cd8aabd0db468a0ba60cab15584fa1401a88b (diff) |
yeetube-search: Change buffer & start yeetube-mode
-rw-r--r-- | yeetube.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -215,8 +215,10 @@ WHERE indicates where in the buffer the update should happen." (decode-coding-region (point-min) (point-max) 'utf-8) (goto-char (point-min)) (toggle-enable-multibyte-characters) - (yeetube-get-content) - (yeetube-buffer-create query yeetube-content 'yeetube-mode))) + (yeetube-get-content)) + (with-current-buffer + (switch-to-buffer (get-buffer-create (concat "*yeetube*"))) + (yeetube-mode))) ;;;###autoload (defun yeetube-browse-url () |