Allow scrolling in y-or-n-p.
authorChong Yidong <cyd@gnu.org>
Sun, 9 Sep 2012 06:43:47 +0000 (14:43 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 9 Sep 2012 06:43:47 +0000 (14:43 +0800)
commit011474aa5af24faeceac60348315552313774b10
tree3cc6fd2abea75f38677e2cfc3c0ee6eebb77300f
parenta8b7cd8d8b81e8db907bbc17c1121e94624ca70c
Allow scrolling in y-or-n-p.

* lisp/replace.el (query-replace-map): Bind four new symbols for
requesting window scrolling.

* lisp/subr.el (y-or-n-p): Handle the window-scrolling bindings in
query-replace-map.

* lisp/custom.el (custom-theme-load-confirm): Use y-or-n-p.

* lisp/window.el (scroll-other-window-down): Make the arg optional.

* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
since they are now in query-replace-map.

* doc/lispref/minibuf.texi (Yes-or-No Queries): Document recentering and
scrolling in y-or-n-p.  Remove gratuitous example.

* doc/lispref/searching.texi (Search and Replace): Document window scrolling
entries in query-replace-map.

Fixes: debbugs:8948
doc/lispref/ChangeLog
doc/lispref/minibuf.texi
doc/lispref/searching.texi
etc/NEWS
lisp/ChangeLog
lisp/custom.el
lisp/emacs-lisp/map-ynp.el
lisp/replace.el
lisp/subr.el
lisp/window.el