test: make (kill-emacs) from emacsclient work with emacs 23.(1|2)
authorTomi Ollila <tomi.ollila@iki.fi>
Fri, 13 Jan 2012 08:17:28 +0000 (10:17 +0200)
committerDavid Bremner <bremner@debian.org>
Sun, 22 Jan 2012 13:18:20 +0000 (09:18 -0400)
commita04642043fa8f071e0dbc73a204fcc91dc3c8401
treea63b5737ee1dfe9ec6038486853885cd14e643bd
parentda9f39216555934327a91ebc6b3b726b0a989dcf
test: make (kill-emacs) from emacsclient work with emacs 23.(1|2)

emacsclient --eval '(kill-emacs)' makes emacs versions 23.1
and 23.2 ask user input from running emacs. Redefining
yes-or-no-p function when kill-emacs is executed for these
emacs versions in test-lib.el avoids this test problem.
test/test-lib.el