[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: using easy-menu-add-item to add a separator before item
From: |
Drew Adams |
Subject: |
RE: using easy-menu-add-item to add a separator before item |
Date: |
Sun, 11 May 2014 12:39:00 -0700 (PDT) |
> I have not been able to figure out how to get easy-menu-add-item
> to add a separator before an added item.
>
> The following works (no separator).
>
> (easy-menu-add-item nil '("Modelica") ["Check syntax" modelica-check-
> syntax-buffer t]))
>
> I'd prefer to add a separator before. I tried the following
>
> (easy-menu-add-item nil '("Modelica") "-")
> (easy-menu-add-item nil '("Modelica") ["Check syntax" modelica-check-
> syntax-buffer t])
>
> but it gives the same result. How can I do this?
I do it this way:
(easy-menu-add-item facemenu-menu () ["---" nil] 'dp)