diff options
author | Thanos Apollo <[email protected]> | 2024-03-20 12:33:35 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-03-20 12:33:35 +0200 |
commit | f9c28a527a60811c4b60bdd3730ca25c9522739a (patch) | |
tree | 64f524ab859d3082aa3d64bf14a8dd05dba6eb5f | |
parent | 3a7f8e871d28c826cb1d45592e23de3dc920a6d5 (diff) |
Add yeetube-enable-emojis
Custom boolean to enable/disable emojify mode
-rw-r--r-- | yeetube.el | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -111,6 +111,11 @@ Valid options include: :type 'boolean :group 'yeetube) +(defcustom yeetube-enable-emojis t + "Enable emojis in *yeetube* buffer." + :type 'boolean + :group 'yeetube) + (defgroup yeetube-faces nil "Faces used by yeetube." :group 'yeetube @@ -677,7 +682,8 @@ A and B are vectors." (display-line-numbers-mode 0) (tabulated-list-init-header) (tabulated-list-print) - (when (fboundp 'emojify-mode) + (when (and (fboundp 'emojify-mode) + yeetube-enable-emojis) (emojify-mode 1))) (provide 'yeetube) |