From: Glenn Morris Date: Wed, 18 Sep 2013 03:50:18 +0000 (-0700) Subject: * lisp/subr.el (x-popup-dialog): Declare. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1561 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2f3e9f85b5d46fbb128548a9ff78bd15c0bd252;p=emacs.git * lisp/subr.el (x-popup-dialog): Declare. --- 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