summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorNicolas Petton <nicolas@petton.fr>2015-10-14 17:55:53 +0200
committerNicolas Petton <nicolas@petton.fr>2015-10-14 17:57:32 +0200
commit17d4f60b55dd7998a4afffa9413c9e1731791f1a (patch)
treea38066496453c14759652087d8aaf9a7de79173b /lisp/emacs-lisp
parentaebf282aec46e3e8246a3dce535ecccf173c391b (diff)
downloademacs-17d4f60b55dd7998a4afffa9413c9e1731791f1a.tar.gz
emacs-17d4f60b55dd7998a4afffa9413c9e1731791f1a.tar.bz2
emacs-17d4f60b55dd7998a4afffa9413c9e1731791f1a.zip
Fix typos in docstrings
* lisp/emacs-lisp/map.el: * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase macros.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/map.el2
-rw-r--r--lisp/emacs-lisp/seq.el2
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)))