summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-02 16:57:27 +0300
committerThanos Apollo <[email protected]>2023-10-02 16:57:27 +0300
commitad4f8546eeec5a04b2975c98ac04696bec114570 (patch)
tree3827c95436f3b9e1438521264bde358392f3c28e
parentfe10715c61e08754122825085d8a3bbcb59bf1c0 (diff)
yeetube: Remove duplicate yeetube-fix-title
This command has been moved to yeetube-buffer
-rw-r--r--yeetube.el14
1 files changed, 0 insertions, 14 deletions
diff --git a/yeetube.el b/yeetube.el
index 8eefb54..a16aee1 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -142,20 +142,6 @@ WHERE indicates where in the buffer the update should happen."
(save-buffer)
(kill-buffer)))
-;; Usually titles from youtube get messed up,
-;; This should fix some of the common issues.
-(defun yeetube-fix-title (title)
- "Adjust TITLE."
- (let ((replacements '(("&amp;" . "&")
- ("&quot;" . "\"")
- ("&#39;" . "'")
- ("u0026" . "&")
- ("\\\\" . ""))))
- (mapc (lambda (replacement)
- (setf title (replace-regexp-in-string (car replacement) (cdr replacement) title)))
- replacements)
- title))
-
;;;###autoload
(defun yeetube-search (query)
"Search for QUERY."