emacs-emojify

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

commit bb69b1fc71aeab7f4780576b77d61553f97b4e5f
parent 0ee5eed42483fdfaac7dc7b72a29e8f79ca8cdb8
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date:   Sun, 25 Sep 2016 22:58:53 +0530

Set `emojify-inhibit-emojify-in-current-buffer-p` to t only locally in
test buffers

Diffstat:
M.dir-locals.el | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.dir-locals.el b/.dir-locals.el @@ -3,4 +3,4 @@ (eval ignore-errors (push (quote ("Tests" "(\\(\\<ert-deftest\\)\\>\\s *\\(\\(?:\\sw\\|\\s_\\)+\\)?" 2)) imenu-generic-expression) (when (string-match-p "test" (buffer-file-name)) - (setq emojify-inhibit-emojify-in-current-buffer-p t))))) + (setq-local emojify-inhibit-emojify-in-current-buffer-p t)))))