diff options
| author | Richard M. Stallman | 1995-12-26 04:34:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-12-26 04:34:05 +0000 |
| commit | 0ef68e8a27a67c430d2b2fed10cc43075b9c58f2 (patch) | |
| tree | a3514e7671c6f8b0122905850026db0fc92b0c86 /src/fns.c | |
| parent | 1f0af748ca467fa5d04c9c1fc62f5946d059991f (diff) | |
| download | emacs-0ef68e8a27a67c430d2b2fed10cc43075b9c58f2.tar.gz emacs-0ef68e8a27a67c430d2b2fed10cc43075b9c58f2.zip | |
(Fy_or_n_p, Fyes_or_no_p): using_x_p renamed to have_menus_p.
HAVE_X_MENU renamed to HAVE_MENUS.
Diffstat (limited to 'src/fns.c')
| -rw-r--r-- | src/fns.c | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -1568,9 +1568,9 @@ Also accepts Space to mean yes, or Delete to mean no.") | |||
| 1568 | 1568 | ||
| 1569 | while (1) | 1569 | while (1) |
| 1570 | { | 1570 | { |
| 1571 | #if defined (HAVE_X_MENU) || defined (HAVE_NTGUI) | 1571 | #ifdef HAVE_MENUS |
| 1572 | if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) | 1572 | if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) |
| 1573 | && using_x_p ()) | 1573 | && have_menus_p ()) |
| 1574 | { | 1574 | { |
| 1575 | Lisp_Object pane, menu; | 1575 | Lisp_Object pane, menu; |
| 1576 | redisplay_preserve_echo_area (); | 1576 | redisplay_preserve_echo_area (); |
| @@ -1582,7 +1582,7 @@ Also accepts Space to mean yes, or Delete to mean no.") | |||
| 1582 | answer = !NILP (obj); | 1582 | answer = !NILP (obj); |
| 1583 | break; | 1583 | break; |
| 1584 | } | 1584 | } |
| 1585 | #endif | 1585 | #endif /* HAVE_MENUS */ |
| 1586 | cursor_in_echo_area = 1; | 1586 | cursor_in_echo_area = 1; |
| 1587 | message_nolog ("%s(y or n) ", XSTRING (xprompt)->data); | 1587 | message_nolog ("%s(y or n) ", XSTRING (xprompt)->data); |
| 1588 | 1588 | ||
| @@ -1676,9 +1676,9 @@ and can edit it until it has been confirmed.") | |||
| 1676 | 1676 | ||
| 1677 | CHECK_STRING (prompt, 0); | 1677 | CHECK_STRING (prompt, 0); |
| 1678 | 1678 | ||
| 1679 | #if defined (HAVE_X_MENU) || defined (HAVE_NTGUI) | 1679 | #ifdef HAVE_MENUS |
| 1680 | if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) | 1680 | if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) |
| 1681 | && using_x_p ()) | 1681 | && have_menus_p ()) |
| 1682 | { | 1682 | { |
| 1683 | Lisp_Object pane, menu, obj; | 1683 | Lisp_Object pane, menu, obj; |
| 1684 | redisplay_preserve_echo_area (); | 1684 | redisplay_preserve_echo_area (); |
| @@ -1691,7 +1691,7 @@ and can edit it until it has been confirmed.") | |||
| 1691 | UNGCPRO; | 1691 | UNGCPRO; |
| 1692 | return obj; | 1692 | return obj; |
| 1693 | } | 1693 | } |
| 1694 | #endif | 1694 | #endif /* HAVE_MENUS */ |
| 1695 | 1695 | ||
| 1696 | args[0] = prompt; | 1696 | args[0] = prompt; |
| 1697 | args[1] = build_string ("(yes or no) "); | 1697 | args[1] = build_string ("(yes or no) "); |