emacs-emojify

fork of https://github.com/iqbalansari/emacs-emojify
Log | Files | Refs | LICENSE

commit 9af06b1f6355b68d2f38f007682245a6f15e3de1
parent 0892bf759185e27bf1fc1fe4c29bb0a76cfcb5e8
Author: Iqbal Ansari <iqbal.ansari@ignitesol.com>
Date:   Fri, 30 Oct 2015 13:29:52 +0530

Replace 'comment' with 'comments' in 'emojify-prog-contexts'

Diffstat:
Memojify.el | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/emojify.el b/emojify.el @@ -164,10 +164,10 @@ can customize `emojify-inhibit-major-modes' and "Contexts where emojis can be displayed in programming modes. Possible values are -`comment' - Display emojis only in comments -`string' - Display emojis only in strings -`both' - Display emojis in comments and strings -`none' - Do not display emojis in programming modes") +`comments' - Display emojis only in comments +`string' - Display emojis only in strings +`both' - Display emojis in comments and strings +`none' - Do not display emojis in programming modes") (defcustom emojify-inhibit-functions '(emojify-in-org-tags-p emojify-in-org-list-p) @@ -205,7 +205,7 @@ This returns non-nil if the region is valid according to `emojify-prog-contexts' (syntax-end (syntax-ppss end)) (pos (pcase emojify-prog-contexts (`string 3) - (`comment 4) + (`comments 4) (`both 8)))) (and (nth pos syntax-beg) (nth pos syntax-end)))))