; Fix recent typo in -filter & -remove docstrings

master
Basil L. Contovounesios 5 years ago
parent ff5ed7a1ce
commit 5d8de451aa
No known key found for this signature in database
GPG Key ID: 205AB54A5D5D8CFF
  1. 4
      README.md
  2. 4
      dash.el
  3. 4
      dash.texi

@ -517,7 +517,7 @@ Functions returning a sublist of the original list.
Return a new list of the items in `list` for which `pred` returns non-nil.
Alias: `-select`.
This function's anaphoric counterpart `--filter`.
This function's anaphoric counterpart is `--filter`.
For similar operations, see also [`-keep`](#-keep-fn-list) and [`-remove`](#-remove-pred-list).
```el
@ -530,7 +530,7 @@ For similar operations, see also [`-keep`](#-keep-fn-list) and [`-remove`](#-rem
Return a new list of the items in `list` for which `pred` returns nil.
Alias: `-reject`.
This function's anaphoric counterpart `--remove`.
This function's anaphoric counterpart is `--remove`.
For similar operations, see also [`-keep`](#-keep-fn-list) and [`-filter`](#-filter-pred-list).
```el

@ -430,7 +430,7 @@ For the opposite operation, see also `--remove'."
(defun -filter (pred list)
"Return a new list of the items in LIST for which PRED returns non-nil.
Alias: `-select'.
This function's anaphoric counterpart `--filter'.
This function's anaphoric counterpart is `--filter'.
For similar operations, see also `-keep' and `-remove'."
(--filter (funcall pred it) list))
@ -449,7 +449,7 @@ For the opposite operation, see also `--filter'."
(defun -remove (pred list)
"Return a new list of the items in LIST for which PRED returns nil.
Alias: `-reject'.
This function's anaphoric counterpart `--remove'.
This function's anaphoric counterpart is `--remove'.
For similar operations, see also `-keep' and `-filter'."
(--remove (funcall pred it) list))

@ -484,7 +484,7 @@ Functions returning a sublist of the original list.
@defun -filter (pred list)
Return a new list of the items in @var{list} for which @var{pred} returns non-nil.
Alias: @code{-select}.
This function's anaphoric counterpart @code{--filter}.
This function's anaphoric counterpart is @code{--filter}.
For similar operations, see also @code{-keep} (@pxref{-keep}) and @code{-remove} (@pxref{-remove}).
@example
@ -507,7 +507,7 @@ For similar operations, see also @code{-keep} (@pxref{-keep}) and @code{-remove}
@defun -remove (pred list)
Return a new list of the items in @var{list} for which @var{pred} returns nil.
Alias: @code{-reject}.
This function's anaphoric counterpart @code{--remove}.
This function's anaphoric counterpart is @code{--remove}.
For similar operations, see also @code{-keep} (@pxref{-keep}) and @code{-filter} (@pxref{-filter}).
@example

Loading…
Cancel
Save