summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/map-ynp.el2
2 files changed, 6 insertions, 1 deletions
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 <sds@ksp.com>
+
+ * map-ynp.el (map-y-or-n-p): Remove extraneous `not' to
+ comply with the comment.
+
1999-10-19 Gerd Moellmann <gerd@gnu.org>
* 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