plain label strips parenthesized accelerators
svn: r983 original commit: 50a666ebd9cb9211a1cccb3c78a5ee5b22eb07ed
This commit is contained in:
parent
6c7daca1b1
commit
cbf80b0bf7
|
@ -70,8 +70,13 @@
|
|||
(lambda (s)
|
||||
(car (regexp-match #rx"^[^\t]*" s)))
|
||||
(lambda (s)
|
||||
(regexp-replace* "&"
|
||||
(regexp-replace* "&(.)" (car (regexp-match #rx"^[^\t]*" s)) "\\1")
|
||||
(regexp-replace* #rx"&"
|
||||
(regexp-replace* #rx"&(.)"
|
||||
(regexp-replace*
|
||||
#rx" *[(]&.[)] *"
|
||||
(car (regexp-match #rx"^[^\t]*" s))
|
||||
"")
|
||||
"\\1")
|
||||
"\\&\\&"))))
|
||||
|
||||
(define basic-labelled-menu-item%
|
||||
|
|
Loading…
Reference in New Issue
Block a user