diff options
author | Thanos Apollo <[email protected]> | 2023-09-27 15:49:42 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-09-27 15:49:42 +0300 |
commit | 47f98f66a3b78737792b9f28d053be751e24c916 (patch) | |
tree | 01838dee2890ed5fc2f9237d033e9d365179c077 | |
parent | abfcd3f5f2d3bda28bae4eaf2173d92c162ebbc8 (diff) |
yeetube: Remove functions from old org buffer info
-rw-r--r-- | yeetube.el | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -293,28 +293,6 @@ prompt blank to keep the default name." (format "%s '%s' -o %s" (executable-find "yt-dlp") url name) nil 0))))) -(defun yeetube-insert-info () - "Insert default keybindings at *Yeetube Search* buffer." - (insert - "\n\n** Info" - (format "\nDownload Directory: %s" yeetube-download-directory) - (format "\nDownload as audio format: %s" yeetube-download-audio-format)) - (when yeetube-display-info-keys - (insert - "\n\n*** Keybindings" - "\n" - "\n~RET~ -> Play Video\n" - "\n~v~ -> Toggle Video\n" - "\n~V~ -> Toggle no-video flag\n" - "\n~p~ -> Toggle Pause\n" - "\n~C-c C-o~ -> Open In Browser\n" - "\n~d~ -> Download\n" - "\n~D~ -> Change Download Directory\n" - "\n~a~ -> Change Download (Audio) Format\n" - "\n~q~ -> Quit\n" - "\n~s~ -> Save video\n" - "\n~P~ -> Play Saved Video"))) - (defun yeetube-change-download-directory () "Change download directory." (interactive) @@ -328,20 +306,6 @@ prompt blank to keep the default name." (when (equal yeetube-download-audio-format "no") (setf yeetube-download-audio-format nil))) -(defun yeetube-update-saved-videos-list (_symbol new-value _where _environment) - "Updated saved videos. - -SYMBOL-NAME is the name of the symbol to update. -NEW-VALUE is the new value for the symbol. -OPERATION is the operation to perform. -WHERE indicates where in the buffer the update should happen." - (with-temp-buffer (find-file (concat user-emacs-directory "yeetube")) - (erase-buffer) - (setf yeetube-saved-videos new-value) - (insert (pp-to-string yeetube-saved-videos)) - (save-buffer) - (kill-buffer))) - (defun yeetube-version () "Show Yeetube Version." (interactive) |