From 5d8de451aafb9fbced233c36a34c0dc073b2b4be Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Mon, 18 Jan 2021 09:12:16 +0000 Subject: [PATCH] ; Fix recent typo in -filter & -remove docstrings --- README.md | 4 ++-- dash.el | 4 ++-- dash.texi | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e87788b..df43f2f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/dash.el b/dash.el index 84cfbe8..3092da5 100644 --- a/dash.el +++ b/dash.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)) diff --git a/dash.texi b/dash.texi index 4f0f487..553809d 100644 --- a/dash.texi +++ b/dash.texi @@ -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