X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fmenubar.el;h=cdf247bd20789818a2a3b0501863e6d99c3120ae;hb=f52a96980ed9280f8f906a20d4b899dc0b027644;hp=a2f84d59e13ee590a1923a493e0f297754a29490;hpb=a5f466de30a3e927ed1146b0c7e3870e71465c8f;p=chise%2Fxemacs-chise.git- diff --git a/lisp/menubar.el b/lisp/menubar.el index a2f84d5..cdf247b 100644 --- a/lisp/menubar.el +++ b/lisp/menubar.el @@ -30,7 +30,7 @@ ;; This file is dumped with XEmacs (when menubar support is compiled in). -;; Some stuff in FSF menu-bar.el is in x-menubar.el +;; Some stuff in FSF menu-bar.el is in menubar-items.el ;;; Code: @@ -128,19 +128,6 @@ See `current-menubar' for a description of the syntax of a menubar." menuitem))) (setq plistp (or (>= L 5) (and (> L 2) (keywordp (aref menuitem 2))))) - (or (stringp (aref menuitem 0)) - (signal 'error - (list - "first element of a button must be a string (the label)" - menuitem))) - (or plistp - (< L 4) - (null (aref menuitem 3)) - (stringp (aref menuitem 3)) - (signal 'error - (list - "fourth element of a button must be a string (the label suffix)" - menuitem))) (if plistp (let ((i 2) selp