changeset 4222:6a8d48a6ac10

(map-y-or-n-p): If LIST is nil, just return.
author Richard M. Stallman <rms@gnu.org>
date Thu, 22 Jul 1993 07:17:28 +0000
parents 829413cfe196
children b044f6d3c4cb
files lisp/map-ynp.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/map-ynp.el	Thu Jul 22 07:15:49 1993 +0000
+++ b/lisp/map-ynp.el	Thu Jul 22 07:17:28 1993 +0000
@@ -89,7 +89,7 @@
 			    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)