* lisp/subr.el (x-popup-dialog): Declare.
authorGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 03:50:18 +0000 (20:50 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 03:50:18 +0000 (20:50 -0700)
lisp/ChangeLog
lisp/subr.el

index 0875fca..cb19644 100644 (file)
@@ -12,6 +12,8 @@
 
        * simple.el (font-info): Declare.
 
+       * subr.el (x-popup-dialog): Declare.
+
        * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
        (fit-frame-to-buffer): Explicit error if --without-x.
        (mouse-autoselect-window-select): Silence compiler.
index adf3f9a..b903ef1 100644 (file)
@@ -2239,6 +2239,9 @@ floating point support."
            (push read unread-command-events)
            nil))))))
 
+;; Behind display-popup-menus-p test.
+(declare-function x-popup-dialog "xmenu.c" (position contents &optional header))
+
 (defun y-or-n-p (prompt)
   "Ask user a \"y or n\" question.  Return t if answer is \"y\".
 PROMPT is the string to display to ask the question.  It should