org-element: Fix docstring

* lisp/org-element.el (org-element-set-contents): Fix docstring.
This commit is contained in:
Nicolas Goaziou 2015-02-27 11:53:00 +01:00
parent fc850ce623
commit 80bbf2440a
1 changed files with 1 additions and 2 deletions

View File

@ -466,8 +466,7 @@ Return modified element."
element)) element))
(defsubst org-element-set-contents (element &rest contents) (defsubst org-element-set-contents (element &rest contents)
"Set ELEMENT contents to CONTENTS. "Set ELEMENT contents to CONTENTS."
Return modified element."
(cond ((not element) (list contents)) (cond ((not element) (list contents))
((not (symbolp (car element))) contents) ((not (symbolp (car element))) contents)
((cdr element) (setcdr (cdr element) contents)) ((cdr element) (setcdr (cdr element) contents))