]> git.eshelyaron.com Git - emacs.git/commitdiff
(map-y-or-n-p): If LIST is nil, just return.
authorRichard M. Stallman <rms@gnu.org>
Thu, 22 Jul 1993 07:17:28 +0000 (07:17 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 22 Jul 1993 07:17:28 +0000 (07:17 +0000)
lisp/map-ynp.el

index 28491b5626bc927a3a8f293b6e0462929d30f9eb..a0badd5ed3a0476a2a80f995a15aaad2c9384f92 100644 (file)
@@ -89,7 +89,7 @@ Returns the number of actions taken."
                            query-replace-map)))
         (actions 0)
         prompt char elt tail def delayed-switch-frame
-        (next (if (or (symbolp list)
+        (next (if (or (and list (symbolp list))
                       (subrp list)
                       (byte-code-function-p list)
                       (and (consp list)