From 159ab5c6764db2a66cc739d267d75957ab46c224 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 22 Jul 1993 07:17:28 +0000 Subject: (map-y-or-n-p): If LIST is nil, just return. --- lisp/map-ynp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/map-ynp.el b/lisp/map-ynp.el index 28491b5626b..a0badd5ed3a 100644 --- a/lisp/map-ynp.el +++ b/lisp/map-ynp.el @@ -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) -- cgit v1.2.1