# HG changeset patch # User Richard M. Stallman # Date 743325448 0 # Node ID 6a8d48a6ac1034cf25cf01d028a6d5558e59d668 # Parent 829413cfe196e914f82ca71895e9ba69f4efa165 (map-y-or-n-p): If LIST is nil, just return. diff -r 829413cfe196 -r 6a8d48a6ac10 lisp/map-ynp.el --- 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)