emacs-emojify

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

commit 56f1dd3c2ef4206deb6383da041137901f3762e1
parent 74c97a656c7ad515ed244c77c370742c22c83a08
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date:   Sat, 17 Jun 2017 21:53:44 +0530

Minor formatting and documentation change

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

diff --git a/emojify.el b/emojify.el @@ -2030,10 +2030,12 @@ the completion tooltip using `after-string' overlay property rather than The second step is needed because emojify displays the emojis using `display' text property, similarly company-mode in some cases uses `display' overlay property to render its pop, this results into a `display' property inside -`display' property, however Emacs ignores recursive text properties. Using -`after-string' works as well as `display' while allowing the emojis to be +`display' property, however Emacs ignores recursive display text property. +Using `after-string' works as well as `display' while allowing the emojis to be displayed." - (when (and emojify-mode emojify-company-tooltips-p (overlayp (bound-and-true-p company-pseudo-tooltip-overlay))) + (when (and emojify-mode + emojify-company-tooltips-p + (overlayp (bound-and-true-p company-pseudo-tooltip-overlay))) (let* ((ov company-pseudo-tooltip-overlay) (disp (or (overlay-get ov 'display) (overlay-get ov 'after-string)))