@@ -813,43 +813,36 @@ varieties.
813813
814814@cindex y or n prompt
815815 For the first type of yes-or-no query, the prompt ends with
816- @samp {(y or n) }. Such a query does not actually use the minibuffer;
817- the prompt appears in the echo area, and you answer by typing either
818- @samp {y } or @samp {n }, which immediately delivers the response. For
819- example, if you type @kbd {C-x C-w } (@kbd {write-file }) to save a
820- buffer, and enter the name of an existing file, Emacs issues a prompt
821- like this:
816+ @w {@samp {(y or n) }}. You answer the query by typing a single key,
817+ either @samp {y } or @samp {n }, which immediately exits the minibuffer
818+ and delivers the response. For example, if you type @kbd {C-x C-w }
819+ (@kbd {write-file }) to save a buffer, and enter the name of an existing
820+ file, Emacs issues a prompt like this:
822821
823822@smallexample
824823File ‘foo.el’ exists; overwrite? (y or n)
825824@end smallexample
826825
827- @noindent
828- Because this query does not actually use the minibuffer, the usual
829- minibuffer editing commands cannot be used. However, you can perform
830- some window scrolling operations while the query is active: @kbd {C-l }
831- recenters the selected window; @kbd {C-v } (or @key {PageDown }, or
832- @key {next }) scrolls forward; @kbd {M-v } (or @key {PageUp }, or
833- @key {prior }) scrolls backward; @kbd {C-M-v } scrolls forward in the next
834- window; and @kbd {C-M-S-v } scrolls backward in the next window. Typing
835- @kbd {C-g } dismisses the query, and quits the command that issued it
836- (@pxref {Quitting }).
837-
838826@cindex yes or no prompt
839- The second type of yes-or-no query is typically employed if
840- giving the wrong answer would have serious consequences; it uses the
841- minibuffer, and features a prompt ending with @samp {(yes or no) }. For
842- example, if you invoke @kbd {C-x k } (@code {kill-buffer }) on a
843- file-visiting buffer with unsaved changes, Emacs activates the
844- minibuffer with a prompt like this:
827+ The second type of yes-or-no query is typically employed if giving
828+ the wrong answer would have serious consequences; it thus features a
829+ longer prompt ending with @samp {(yes or no) }. For example, if you
830+ invoke @kbd {C-x k } (@code {kill-buffer }) on a file-visiting buffer with
831+ unsaved changes, Emacs activates the minibuffer with a prompt like
832+ this:
845833
846834@smallexample
847835Buffer foo.el modified; kill anyway? (yes or no)
848836@end smallexample
849837
850838@noindent
851839To answer, you must type @samp {yes } or @samp {no } into the minibuffer,
852- followed by @key {RET }. The minibuffer behaves as described in the
853- previous sections; you can switch to another window with @kbd {C-x o },
854- use the history commands @kbd {M-p } and @kbd {M-n }, etc. Type @kbd {C-g }
855- to quit the minibuffer and the querying command.
840+ followed by @key {RET }.
841+
842+ With both types of yes-or-no query the minibuffer behaves as described
843+ in the previous sections; you can recenter the selected window with
844+ @kbd {C-l }, scroll that window (@kbd {C-v } or @kbd {PageDown } scrolls
845+ forward, @kbd {M-v } or @kbd {PageUp } scrolls backward), switch to
846+ another window with @kbd {C-x o }, use the history commands @kbd {M-p }
847+ and @kbd {M-n }, etc. Type @kbd {C-g } to dismiss the query, and quit the
848+ minibuffer and the querying command (@pxref {Quitting }).
0 commit comments