diff options
author | Thanos Apollo <[email protected]> | 2023-07-03 14:59:01 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-07-03 14:59:01 +0300 |
commit | 5098b6d75fdd802aa3feaeec3a29e47cb6e7a9ad (patch) | |
tree | af64b44ddffb6709e32b5c0d187e84625b29fc30 | |
parent | 363d40ceb4f91cfba0fdcaa273cf63f556d4aeb2 (diff) |
fix updates
-rw-r--r-- | yeetube.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -251,8 +251,12 @@ OPERATION & WHERE are required to work with 'add-variable-watcher." (kill-visual-line) (insert (format "%s %s" to-change new-value)) + (goto-char (point-min)) + (search-forward yeetube-results-prefix) (setq-local buffer-read-only t) - (switch-to-buffer (other-buffer))))) + (unless (string-equal (buffer-name) "*Yeetube Search*") + (switch-to-buffer (other-buffer)))))) + ;; Variable to watch (add-variable-watcher 'yeetube-download-directory #'yeetube-update-info) |