Some time ago, Hrvoje Niksic wrote...
|+
| Some more bugs/misfeatures I noticed:
|
| * The menu code doesn't seem to recognize "---", which is used in some
| places. Instead of placing a separator at the appropriate place, it
| just inserts the literal dashes.
|-
Is there a correct menu syntax?
Menu items in the form "---" are correctly recognized as separators.
Although, items coded as vectors ["---" nil nil] are not. I think
it is better to fix the code which uses vector syntax, becuase this
is wrong to treat it as a separator, for example, ["---" 'foo t]
is a notmal menu item which calls foo and named "---".
Of course, usage of ["---" nil nil] items is not documented.
Kirill
Show replies by date