mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-21 06:55:35 +00:00
lisp/org.el (org-end-of-meta-data): Improve docstring
* lisp/org.el (org-end-of-meta-data): Clarify that a call of `org-end-of-metadata' with non-nil argument FULL will skip blank lines in addition to other meta-data. Link: https://list.orgmode.org/orgmode/CALo8A5VtbtB0P6RkHuShyFV4qBAMTeujVVpjsH_gY1sY4FwNDQ@mail.gmail.com/ TINYCHANGE
This commit is contained in:
parent
dfd6cc51f5
commit
3a6b14806e
@ -21669,10 +21669,10 @@ When TO-HEADING is non-nil, go to the next heading or `point-max'."
|
|||||||
"Skip planning line and properties drawer in current entry.
|
"Skip planning line and properties drawer in current entry.
|
||||||
|
|
||||||
When optional argument FULL is t, also skip planning information,
|
When optional argument FULL is t, also skip planning information,
|
||||||
clocking lines and any kind of drawer.
|
clocking lines, any kind of drawer, and blank lines
|
||||||
|
|
||||||
When FULL is non-nil but not t, skip planning information,
|
When FULL is non-nil but not t, skip planning information,
|
||||||
properties, clocking lines and logbook drawers."
|
properties, clocking lines, logbook drawers, and blank lines."
|
||||||
(org-back-to-heading t)
|
(org-back-to-heading t)
|
||||||
(forward-line)
|
(forward-line)
|
||||||
;; Skip planning information.
|
;; Skip planning information.
|
||||||
@ -21687,7 +21687,7 @@ properties, clocking lines and logbook drawers."
|
|||||||
(let ((end (save-excursion (outline-next-heading) (point)))
|
(let ((end (save-excursion (outline-next-heading) (point)))
|
||||||
(re (concat "[ \t]*$" "\\|" org-clock-line-re)))
|
(re (concat "[ \t]*$" "\\|" org-clock-line-re)))
|
||||||
(while (not (eobp))
|
(while (not (eobp))
|
||||||
(cond ;; Skip clock lines.
|
(cond ;; Skip clock lines and blank lines.
|
||||||
((looking-at-p re) (forward-line))
|
((looking-at-p re) (forward-line))
|
||||||
;; Skip logbook drawer.
|
;; Skip logbook drawer.
|
||||||
((looking-at-p org-logbook-drawer-re)
|
((looking-at-p org-logbook-drawer-re)
|
||||||
|
Loading…
Reference in New Issue
Block a user