summaryrefslogtreecommitdiff
path: root/app-emacs/emojify/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-16 13:07:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-16 13:07:24 +0100
commit0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch)
tree464c922e949c7e4d5d891fb2cdda5daee5612537 /app-emacs/emojify/files
parente68d405c5d712af4387159df07e226217bdda049 (diff)
gentoo resync : 16.04.2022
Diffstat (limited to 'app-emacs/emojify/files')
-rw-r--r--app-emacs/emojify/files/50emojify-gentoo.el5
-rw-r--r--app-emacs/emojify/files/emojify-json-data.patch25
2 files changed, 30 insertions, 0 deletions
diff --git a/app-emacs/emojify/files/50emojify-gentoo.el b/app-emacs/emojify/files/50emojify-gentoo.el
new file mode 100644
index 000000000000..e76565b0655a
--- /dev/null
+++ b/app-emacs/emojify/files/50emojify-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'emojify-mode "emojify"
+ "Emojify mode" t)
+(autoload 'global-emojify-mode "emojify"
+ "Toggle Emojify mode in all buffers." t)
diff --git a/app-emacs/emojify/files/emojify-json-data.patch b/app-emacs/emojify/files/emojify-json-data.patch
new file mode 100644
index 000000000000..50f53f243c88
--- /dev/null
+++ b/app-emacs/emojify/files/emojify-json-data.patch
@@ -0,0 +1,25 @@
+index 033c2f5..ca83044 100644
+--- a/emojify.el
++++ b/emojify.el
+@@ -290,9 +290,7 @@ current window too."
+
+ (defcustom emojify-emoji-json
+ (expand-file-name "data/emoji.json"
+- (cond (load-file-name (file-name-directory load-file-name))
+- ((locate-library "emojify") (file-name-directory (locate-library "emojify")))
+- (t default-directory)))
++ "@SITEETC@")
+ "The path to JSON file containing the configuration for displaying emojis."
+ :type 'file
+ :group 'emojify)
+@@ -301,9 +299,7 @@ current window too."
+ (let ((json-array-type 'list)
+ (json-object-type 'hash-table))
+ (json-read-file (expand-file-name "data/emoji-sets.json"
+- (cond (load-file-name (file-name-directory load-file-name))
+- ((locate-library "emojify") (file-name-directory (locate-library "emojify")))
+- (t default-directory))))))
++ "@SITEETC@"))))
+
+ (defcustom emojify-emoji-set "emojione-v2.2.6-22"
+ "The emoji set used to display emojis."