help-gnu-emacs
[Top][All Lists]
Advanced

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

creating a sub-menu


From: ken
Subject: creating a sub-menu
Date: Tue, 05 Mar 2013 17:39:01 -0500
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

Trying to create a sub-menu under "Edit". Got part of the way there, but still missing something.

(define-key menu-bar-edit-menu [insert-xascii-chars]
  '(menu-item "Insert non-ASCII characters" xascii

   (xascii  "\C-xaa"   "ä"        "ä` (ä)"          ("ä"))
   (xascii  "\C-xaA"   "Ä"        "Ä` (Ä)"          ("Ä"))
   (xascii  "\C-xao"   "ö"        "ö` (ö)"          ("ö"))
   (xascii  "\C-xaO"   "Ö"        "Ö` (Ö)"          ("Ö"))
   (xascii  "\C-xau"   "ü"        "ü` (ü)"          ("ü"))
   (xascii  "\C-xaU"   "Ü"        "Ü` (Ü)"          ("Ü"))
   (xascii  "\C-xas"   "ß"        "ß` (ß)"          ("ß"))
   (xascii  "\C-xa<"   "«"        "«` («)"          ("«"))
   (xascii  "\C-xa>"   "»"        "»` (»)"          ("»"))))

Above yields error:
Debugger entered--Lisp error: (wrong-type-argument arrayp xascii)




reply via email to

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