org-element: Fix docstring
* lisp/org-element.el (org-element-set-contents): Fix docstring.
This commit is contained in:
parent
fc850ce623
commit
80bbf2440a
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue