summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube-buffer.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/yeetube-buffer.el b/yeetube-buffer.el
index cfa0e93..6631f62 100644
--- a/yeetube-buffer.el
+++ b/yeetube-buffer.el
@@ -56,7 +56,9 @@ Emojis cause formatting issues, this should be off by default."
(mapc (lambda (replacement)
(setf title (replace-regexp-in-string (car replacement) (cdr replacement) title)))
replacements)
- title))
+ (if yeetube-buffer-display-emojis
+ title
+ (yeetube-buffer-strip-emojis title))))
(defun yeetube-buffer-fix-view-count (view-count)
"Fix VIEW-COUNT display issues."