diff options
| author | Juri Linkov | 2021-03-11 21:08:09 +0200 |
|---|---|---|
| committer | Juri Linkov | 2021-03-11 21:08:09 +0200 |
| commit | b90c658492a2548f183bf072be50f4a57a2b5f0b (patch) | |
| tree | f43dbc9b9e5ca6dc196ea8c617be077e6c3b8562 /src | |
| parent | 8ad221cdf4337a3c4e2d270e09973b4e67a4b4a2 (diff) | |
| download | emacs-b90c658492a2548f183bf072be50f4a57a2b5f0b.tar.gz emacs-b90c658492a2548f183bf072be50f4a57a2b5f0b.zip | |
Update docstrings of 'delete'/'remove' to interlink each other (bug#47054)
* lisp/subr.el (remove): Add xref to 'delete'.
* src/fns.c (Fdelete): Add xref to 'remove'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1867,7 +1867,8 @@ If SEQ is not a list, deletion is never performed destructively; | |||
| 1867 | instead this function creates and returns a new vector or string. | 1867 | instead this function creates and returns a new vector or string. |
| 1868 | 1868 | ||
| 1869 | Write `(setq foo (delete element foo))' to be sure of correctly | 1869 | Write `(setq foo (delete element foo))' to be sure of correctly |
| 1870 | changing the value of a sequence `foo'. */) | 1870 | changing the value of a sequence `foo'. See also `remove', which |
| 1871 | does not modify the argument. */) | ||
| 1871 | (Lisp_Object elt, Lisp_Object seq) | 1872 | (Lisp_Object elt, Lisp_Object seq) |
| 1872 | { | 1873 | { |
| 1873 | if (VECTORP (seq)) | 1874 | if (VECTORP (seq)) |