From: Richard M. Stallman Date: Thu, 22 Jul 1993 07:17:28 +0000 (+0000) Subject: (map-y-or-n-p): If LIST is nil, just return. X-Git-Tag: emacs-19.34~11629 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fba985162a1c261eaaf05cc0e199d12af397be97;p=emacs.git (map-y-or-n-p): If LIST is nil, just return. --- 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)