diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/map.el | 2 | ||||
-rw-r--r-- | lisp/emacs-lisp/seq.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el index 7564463e6c6..cc437e02e78 100644 --- a/lisp/emacs-lisp/map.el +++ b/lisp/emacs-lisp/map.el @@ -50,7 +50,7 @@ Matches if the object is a map (list, hash-table or array), and each PATTERN matches the corresponding elements of the map. -Supernumerary elements of the map are ignore if less ARGS are +Supernumerary elements of the map are ignored if fewer ARGS are given, and the match does not fail. ARGS can be a list of the form (KEY PAT), in which case KEY in an diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el index d7c9c74b2e0..ce6645a099a 100644 --- a/lisp/emacs-lisp/seq.el +++ b/lisp/emacs-lisp/seq.el @@ -77,7 +77,7 @@ Evaluate BODY with VAR bound to each element of SEQ, in turn. Matches if the object is a sequence (list, string or vector), and each PATTERN matches the corresponding element of the sequence. -Supernumerary elements of the sequence are ignore if less +Supernumerary elements of the sequence are ignored if fewer PATTERNS are given, and the match does not fail." `(and (pred seq-p) ,@(seq--make-pcase-bindings patterns))) |