mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-23 04:18:41 +00:00
contrib/lisp/org-element.el: Fix docstrings
This commit is contained in:
parent
88ef5fe272
commit
44bd38556c
|
@ -262,7 +262,7 @@ CONTENTS is the contents of the element."
|
||||||
|
|
||||||
Return a list whose car is `footnote-definition' and cdr is
|
Return a list whose car is `footnote-definition' and cdr is
|
||||||
a plist containing `:label', `:begin' `:end', `:contents-begin',
|
a plist containing `:label', `:begin' `:end', `:contents-begin',
|
||||||
`contents-end' and `:post-blank' keywords."
|
`:contents-end' and `:post-blank' keywords."
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(let* ((f-def (org-footnote-at-definition-p))
|
(let* ((f-def (org-footnote-at-definition-p))
|
||||||
(label (car f-def))
|
(label (car f-def))
|
||||||
|
@ -547,8 +547,9 @@ CONTENTS is the contents of inlinetask."
|
||||||
STRUCT is the structure of the plain list.
|
STRUCT is the structure of the plain list.
|
||||||
|
|
||||||
Return a list whose car is `item' and cdr is a plist containing
|
Return a list whose car is `item' and cdr is a plist containing
|
||||||
`:begin', `:end', `:contents-begin', `:contents-end',
|
`:bullet', `:begin', `:end', `:contents-begin', `:contents-end',
|
||||||
`:checkbox', `:counter', `:tag' and `:hiddenp'.
|
`:checkbox', `:counter', `:tag', `:raw-tag', `:structure',
|
||||||
|
`:hiddenp' and `:post-blank' keywords.
|
||||||
|
|
||||||
Assume point is at the beginning of the item."
|
Assume point is at the beginning of the item."
|
||||||
(save-excursion
|
(save-excursion
|
||||||
|
@ -586,13 +587,14 @@ Assume point is at the beginning of the item."
|
||||||
(skip-chars-backward " \r\t\n")
|
(skip-chars-backward " \r\t\n")
|
||||||
(forward-line)
|
(forward-line)
|
||||||
(point))))
|
(point))))
|
||||||
;; Note: CONTENTS-BEGIN and CONTENTS-END can be mixed up in the
|
|
||||||
;; case of an empty item separated from the next by a blank
|
|
||||||
;; line.
|
|
||||||
(list 'item
|
(list 'item
|
||||||
`(:bullet ,bullet
|
`(:bullet ,bullet
|
||||||
:begin ,begin
|
:begin ,begin
|
||||||
:end ,end
|
:end ,end
|
||||||
|
;; CONTENTS-BEGIN and CONTENTS-END may be mixed
|
||||||
|
;; up in the case of an empty item separated
|
||||||
|
;; from the next by a blank line. Thus, ensure
|
||||||
|
;; the former is always the smallest of two.
|
||||||
:contents-begin ,(min contents-begin contents-end)
|
:contents-begin ,(min contents-begin contents-end)
|
||||||
:contents-end ,(max contents-begin contents-end)
|
:contents-end ,(max contents-begin contents-end)
|
||||||
:checkbox ,checkbox
|
:checkbox ,checkbox
|
||||||
|
|
Loading…
Reference in a new issue