From d2f3e9f85b5d46fbb128548a9ff78bd15c0bd252 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 17 Sep 2013 20:50:18 -0700 Subject: [PATCH] * lisp/subr.el (x-popup-dialog): Declare. --- lisp/ChangeLog | 2 ++ lisp/subr.el | 3 +++ 2 files changed, 5 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0875fca369a..cb19644cbe1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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. diff --git a/lisp/subr.el b/lisp/subr.el index adf3f9a97f2..b903ef1ea96 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -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 -- 2.39.2