aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuri Linkov2021-03-11 21:08:09 +0200
committerJuri Linkov2021-03-11 21:08:09 +0200
commitb90c658492a2548f183bf072be50f4a57a2b5f0b (patch)
treef43dbc9b9e5ca6dc196ea8c617be077e6c3b8562 /src
parent8ad221cdf4337a3c4e2d270e09973b4e67a4b4a2 (diff)
downloademacs-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index b193ad648a9..766e767e123 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1867,7 +1867,8 @@ If SEQ is not a list, deletion is never performed destructively;
1867instead this function creates and returns a new vector or string. 1867instead this function creates and returns a new vector or string.
1868 1868
1869Write `(setq foo (delete element foo))' to be sure of correctly 1869Write `(setq foo (delete element foo))' to be sure of correctly
1870changing the value of a sequence `foo'. */) 1870changing the value of a sequence `foo'. See also `remove', which
1871does 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))