Using yes-or-no-p allows the user to switch buffers and scroll around
if necessary to read the contents of the *BBDB Migration Info* buffer.
Also, yes-or-no-p is probably a better choice for an irrevocable
change than y-or-n-p; from lispref.info: Yes-or-No Queries
The function `y-or-n-p' can be answered with a single character; it
is useful for questions where an inadvertent wrong answer will not
have serious consequences.
2002-03-02 Samuel Mikes <[EMAIL PROTECTED]>
* lisp/bbdb-migrate.el: (bbdb-migration-query) use yes-or-no-p
Index: bbdb-migrate.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/bbdb/lisp/bbdb-migrate.el,v
retrieving revision 1.7
diff -u -r1.7 bbdb-migrate.el
--- bbdb-migrate.el 2002/02/12 22:56:38 1.7
+++ bbdb-migrate.el 2002/03/02 17:04:27
@@ -427,7 +427,7 @@
(setq win (display-buffer buf))
(shrink-window-if-larger-than-buffer win)
(setq update
- (y-or-n-p (concat "Upgrade BBDB to version "
+ (yes-or-no-p (concat "Upgrade BBDB to version "
(format "%d" bbdb-file-format)
"? ")))
(delete-window win)
Sam
--
Sam Mikes
[EMAIL PROTECTED]