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

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

[elpa] externals/frog-menu 173aea7 41/43: Add more padding to the right


From: Clemens Radermacher
Subject: [elpa] externals/frog-menu 173aea7 41/43: Add more padding to the right of menu
Date: Sun, 24 Mar 2019 05:14:50 -0400 (EDT)

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

    Add more padding to the right of menu
---
 frog-menu.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/frog-menu.el b/frog-menu.el
index 3456044..3617711 100644
--- a/frog-menu.el
+++ b/frog-menu.el
@@ -296,7 +296,9 @@ ACTIONS."
     (while (not (eobp))
       (goto-char (line-end-position))
       ;; Fix: assumes only one avy char...
-      (insert (concat " " (if frog-menu-avy-padding " " "")))
+      (insert (concat " "
+                      (make-string frog-menu-min-col-padding ?\s)
+                      (if frog-menu-avy-padding " " "")))
       (forward-line 1)))
   ;; posframe needs point at start,
   ;; otherwise it fails on first init



reply via email to

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