1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00

* lisp/subr.el (x-popup-dialog): Declare.

This commit is contained in:
Glenn Morris 2013-09-17 20:50:18 -07:00
parent 8a78544ece
commit d2f3e9f85b
2 changed files with 5 additions and 0 deletions

View file

@ -12,6 +12,8 @@
* simple.el (font-info): Declare. * simple.el (font-info): Declare.
* subr.el (x-popup-dialog): Declare.
* window.el (x-display-pixel-height, tool-bar-lines-needed): Declare. * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
(fit-frame-to-buffer): Explicit error if --without-x. (fit-frame-to-buffer): Explicit error if --without-x.
(mouse-autoselect-window-select): Silence compiler. (mouse-autoselect-window-select): Silence compiler.

View file

@ -2239,6 +2239,9 @@ floating point support."
(push read unread-command-events) (push read unread-command-events)
nil)))))) nil))))))
;; Behind display-popup-menus-p test.
(declare-function x-popup-dialog "xmenu.c" (position contents &optional header))
(defun y-or-n-p (prompt) (defun y-or-n-p (prompt)
"Ask user a \"y or n\" question. Return t if answer is \"y\". "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 PROMPT is the string to display to ask the question. It should