emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/frog-menu 4f3eab1 3/6: Don't use blank unicode char, us


From: Clemens Radermacher
Subject: [elpa] externals/frog-menu 4f3eab1 3/6: Don't use blank unicode char, users might use special glyph faces
Date: Mon, 29 Apr 2019 08:35:03 -0400 (EDT)

branch: externals/frog-menu
commit 4f3eab16bcf79d2c17bd4329ef40b31ec9413810
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>

    Don't use blank unicode char, users might use special glyph faces
---
 frog-menu.el | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/frog-menu.el b/frog-menu.el
index 7b61ea2..34a871a 100644
--- a/frog-menu.el
+++ b/frog-menu.el
@@ -317,10 +317,13 @@ ACTIONS."
                       (make-string frog-menu-min-col-padding ?\s)
                       (if frog-menu-avy-padding " " "")))
       (forward-line 1)))
-  ;; insert invisible char otherwise posframe
-  ;; hides second line when only two strings and
-  ;; no prompt, no actions
-  (insert " ")
+  ;; insert invisible char otherwise posframe hides second line when only two
+  ;; strings and no prompt, no actions,
+  (insert
+   (propertize "_"
+               'face
+               (list :foreground
+                 (face-background 'frog-menu-posframe-background-face nil t))))
   ;; posframe needs point at start,
   ;; otherwise it fails on first init
   (goto-char (point-min)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]