comparison lisp/emacs-lisp/lmenu.el @ 95841:b4e36ff621b3

Add some compiler declarations, for builds without X.
author Glenn Morris <rgm@gnu.org>
date Thu, 12 Jun 2008 03:56:20 +0000
parents 90a2847062be
children a9dc0e7c3f2b
comparison
equal deleted inserted replaced
95840:0e3c2e18b9c3 95841:b4e36ff621b3
126 (if name 126 (if name
127 (define-key menu (vector (intern name)) (cons name command))))) 127 (define-key menu (vector (intern name)) (cons name command)))))
128 (setq menu-items (cdr menu-items))) 128 (setq menu-items (cdr menu-items)))
129 menu)) 129 menu))
130 130
131 (declare-function x-popup-dialog "xmenu.c" (position contents &optional header))
132
131 ;; XEmacs compatibility function 133 ;; XEmacs compatibility function
132 (defun popup-dialog-box (data) 134 (defun popup-dialog-box (data)
133 "Pop up a dialog box. 135 "Pop up a dialog box.
134 A dialog box description is a list. 136 A dialog box description is a list.
135 137