Mercurial > emacs
changeset 62426:c5a3c48f99b5
(subsetp, tree-equal): Doc fixes.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 17 May 2005 00:27:32 +0000 |
parents | b8c3e904ae10 |
children | 882ba17cc547 |
files | lisp/emacs-lisp/cl-seq.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/cl-seq.el Tue May 17 00:26:59 2005 +0000 +++ b/lisp/emacs-lisp/cl-seq.el Tue May 17 00:27:32 2005 +0000 @@ -800,7 +800,7 @@ (apply 'nset-difference cl-list2 cl-list1 cl-keys))))) (defun subsetp (cl-list1 cl-list2 &rest cl-keys) - "True if LIST1 is a subset of LIST2. + "Return true if LIST1 is a subset of LIST2. I.e., if every element of LIST1 also appears in LIST2. Keywords supported: :test :test-not :key" (cond ((null cl-list1) t) ((null cl-list2) nil) @@ -888,7 +888,7 @@ (setq cl-tree (cdr cl-tree)))))) (defun tree-equal (cl-x cl-y &rest cl-keys) - "T if trees X and Y have `eql' leaves. + "Return t if trees X and Y have `eql' leaves. Atoms are compared by `eql'; cons cells are compared recursively. Keywords supported: :test :test-not :key" (cl-parsing-keywords (:test :test-not :key) ()