From 03d50ed616a80ce5cc3349f2895a458c8b91f95c Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 19 Oct 1999 13:40:45 +0000 Subject: [PATCH] (map-y-or-n-p): Remove extraneous `not'. --- lisp/ChangeLog | 5 +++++ lisp/map-ynp.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5