From: Gerd Moellmann Date: Tue, 19 Oct 1999 13:40:45 +0000 (+0000) Subject: (map-y-or-n-p): Remove extraneous `not'. X-Git-Tag: emacs-pretest-21.0.90~6374 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=03d50ed616a80ce5cc3349f2895a458c8b91f95c;p=emacs.git (map-y-or-n-p): Remove extraneous `not'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 175343b0652..7d27d38ecbe 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +1999-10-19 Sam Steingold + + * map-ynp.el (map-y-or-n-p): Remove extraneous `not' to + comply with the comment. + 1999-10-19 Gerd Moellmann * autorevert.el (auto-revert-mode): Make auto-revert-mode diff --git a/lisp/map-ynp.el b/lisp/map-ynp.el index e0b150be721..be664e02e11 100644 --- a/lisp/map-ynp.el +++ b/lisp/map-ynp.el @@ -153,7 +153,7 @@ Returns the number of actions taken." (setq char (read-event)) ;; If we get -1, from end of keyboard ;; macro, try again. - (not (equal char -1)))) + (equal char -1))) ;; Show the answer to the question. (message "%s(y, n, !, ., q, %sor %s) %s" prompt user-keys