aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
authorPavel Janík2002-04-12 05:50:50 +0000
committerPavel Janík2002-04-12 05:50:50 +0000
commit927be332ff98fea3abba7de92bb0837610640f1d (patch)
tree9af86afef881172da241591341e7607916059901 /src/fns.c
parent2e1a49ad096d8b08aa6b373341c9a27be994f9b8 (diff)
downloademacs-927be332ff98fea3abba7de92bb0837610640f1d.tar.gz
emacs-927be332ff98fea3abba7de92bb0837610640f1d.zip
(Fy_or_n_p): Use `minibuffer-prompt' face for prompt.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index 33b4b72cc96..638df6e94cd 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2969,7 +2969,18 @@ is nil and `use-dialog-box' is non-nil. */)
2969#endif /* HAVE_MENUS */ 2969#endif /* HAVE_MENUS */
2970 cursor_in_echo_area = 1; 2970 cursor_in_echo_area = 1;
2971 choose_minibuf_frame (); 2971 choose_minibuf_frame ();
2972 message_with_string ("%s(y or n) ", xprompt, 0); 2972
2973 {
2974 Lisp_Object pargs[3];
2975
2976 /* Colorize prompt accordingly to `minibuffer-prompt-face'. */
2977 pargs[0] = build_string ("%s(y or n) ");
2978 pargs[1] = intern ("face");
2979 pargs[2] = intern ("minibuffer-prompt");
2980 args[0] = Fpropertize (3, pargs);
2981 args[1] = xprompt;
2982 Fmessage (2, args);
2983 }
2973 2984
2974 if (minibuffer_auto_raise) 2985 if (minibuffer_auto_raise)
2975 { 2986 {