summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-09-30 00:20:28 +0300
committerThanos Apollo <[email protected]>2023-09-30 00:20:53 +0300
commit80a06f7db6e8677881da856babe3ba498eddff66 (patch)
treedcdd35a9a22898bda20e6a3767a30b5b53879737
parent0ee00fd00e804409842e99bb37d623255afe1d57 (diff)
yeetube-buffer: Add yeetube-buffer-display emojis custom
Custom function to turn on/off displaying emojis in titles Emojis ruin formatting characters, this should be off by default
-rw-r--r--yeetube-buffer.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/yeetube-buffer.el b/yeetube-buffer.el
index 1e4970e..80738c5 100644
--- a/yeetube-buffer.el
+++ b/yeetube-buffer.el
@@ -32,6 +32,11 @@
(require 'yeetube-face)
;; TODO: Fix titles with emojis (ruin formatting)
+(defcustom yeetube-buffer-display-emojis nil
+ "Display video title's emojis."
+ :type 'boolean
+ :safe #'booleanp
+ :group 'yeetube)
(defun yeetube-buffer-fix-title (title)
"Adjust TITLE."
(let ((replacements '(("&amp;" . "&")