[gnu.emacs.bug] yes-or-no-p vs. y-or-n-p

gaynor@porthos.rutgers.edu (Silver) (10/28/88)

There are several instances of calls to yes-or-no-p which are hard-coded.  I
request that they consult the function bound to the symbol, rather than call
the subroutine directly.  The reasoning is that if someone is experienced
enough to have the lines

  ;;;;;;;;;; Caveat emptor!  yes-or-no-p -> y-or-n-p
  ;;
  ;;  I cannot rationally cope with yes-or-no-p anymore.

  (fset 'yes-or-no-p 'y-or-n-p)

in their .emacs, then they don't need the extra protection.  Instead, they are
forced to dutifully spell out `yes' or `no'.  Of course, the answer must be
correctly spelled.  yea?  yew?  ye?  ys?  yes?  Ahh, that got it!

Regards, [Ag] gaynor@rutgers.edu