From 0d72c3493782e418a4aab8ce6f3cb552fdb089e5 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 24 Jun 2016 09:21:38 +0200 Subject: [PATCH] Improve a docstring * lisp/org.el (org-delete-all): Improve docstring. --- lisp/org.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 4082df634..be5eaddba 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -22720,7 +22720,9 @@ The function returns the new ALIST." rtn)) (defun org-delete-all (elts list) - "Remove all elements in ELTS from LIST." + "Remove all elements in ELTS from LIST. +Comparison is done with `equal'. It is a destructive operation +that may remove elements by altering the list structure." (while elts (setq list (delete (pop elts) list))) list)