diff options
| author | Brian Leung | 2020-11-09 08:38:18 -0800 |
|---|---|---|
| committer | Stefan Kangas | 2020-11-09 21:19:10 +0100 |
| commit | 916eb895d1b25107a7d6a2afc63ca6df5b02e040 (patch) | |
| tree | c4ea8a6f6d249a8921cdf87c3b1ecf619803b52b | |
| parent | 95c04675abb33c9a77e561e109348954e0d67c85 (diff) | |
| download | emacs-916eb895d1b25107a7d6a2afc63ca6df5b02e040.tar.gz emacs-916eb895d1b25107a7d6a2afc63ca6df5b02e040.zip | |
shortdoc: prefer seq-contains-p over seq-contains
* lisp/emacs-lisp/shortdoc.el (sequence): use seq-contains-p instead
of seq-contains, which is obsolete as of 27.1. (Bug#44536)
Copyright-paperwork-exempt: yes
| -rw-r--r-- | lisp/emacs-lisp/shortdoc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el index dd9cbd5d55a..37d6170fee5 100644 --- a/lisp/emacs-lisp/shortdoc.el +++ b/lisp/emacs-lisp/shortdoc.el | |||
| @@ -689,8 +689,8 @@ There can be any number of :example/:result elements." | |||
| 689 | (define-short-documentation-group sequence | 689 | (define-short-documentation-group sequence |
| 690 | "Sequence Predicates" | 690 | "Sequence Predicates" |
| 691 | (seq-contains-p | 691 | (seq-contains-p |
| 692 | :eval (seq-contains '(a b c) 'b) | 692 | :eval (seq-contains-p '(a b c) 'b) |
| 693 | :eval (seq-contains '(a b c) 'd)) | 693 | :eval (seq-contains-p '(a b c) 'd)) |
| 694 | (seq-every-p | 694 | (seq-every-p |
| 695 | :eval (seq-every-p #'numberp '(1 2 3))) | 695 | :eval (seq-every-p #'numberp '(1 2 3))) |
| 696 | (seq-empty-p | 696 | (seq-empty-p |