summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-07-22 07:17:28 +0000
committerRichard M. Stallman <rms@gnu.org>1993-07-22 07:17:28 +0000
commit159ab5c6764db2a66cc739d267d75957ab46c224 (patch)
treefe4645b7468804ef07c0780dcb3abc2272da44ed
parent5f0bcfe11f6a7fedcc12b2ffea8078d4f94ce901 (diff)
downloademacs-159ab5c6764db2a66cc739d267d75957ab46c224.tar.gz
(map-y-or-n-p): If LIST is nil, just return.
-rw-r--r--lisp/map-ynp.el2
1 files changed, 1 insertions, 1 deletions
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)