Merge branch 'maint'
This commit is contained in:
commit
58af2e01be
|
@ -4614,7 +4614,7 @@ in `org-agenda-text-search-extra-files'."
|
|||
(> (org-reduced-level (org-outline-level))
|
||||
org-agenda-search-view-max-outline-level)
|
||||
(forward-line -1)
|
||||
(outline-back-to-heading t)))
|
||||
(org-back-to-heading t)))
|
||||
(skip-chars-forward "* ")
|
||||
(setq beg (point-at-bol)
|
||||
beg1 (point)
|
||||
|
|
|
@ -874,7 +874,7 @@ This macro also protects the current active clock from being altered."
|
|||
(org-clock-effort)
|
||||
(org-clock-marker (car ,clock))
|
||||
(org-clock-hd-marker (save-excursion
|
||||
(outline-back-to-heading t)
|
||||
(org-back-to-heading t)
|
||||
(point-marker))))
|
||||
,@forms)))
|
||||
(def-edebug-spec org-with-clock (form body))
|
||||
|
@ -959,7 +959,7 @@ If necessary, clock-out of the currently active clock."
|
|||
(org-with-wide-buffer
|
||||
(let ((drawer-re (format "^[ \t]*:%s:[ \t]*$"
|
||||
(regexp-quote (if (stringp drawer) drawer "LOGBOOK"))))
|
||||
(beg (save-excursion (outline-back-to-heading t) (point))))
|
||||
(beg (save-excursion (org-back-to-heading t) (point))))
|
||||
(catch 'exit
|
||||
(while (re-search-backward drawer-re beg t)
|
||||
(let ((element (org-element-at-point)))
|
||||
|
|
|
@ -7137,7 +7137,7 @@ open and agenda-wise Org files."
|
|||
|
||||
(defsubst org-entry-beginning-position ()
|
||||
"Return the beginning position of the current entry."
|
||||
(save-excursion (outline-back-to-heading t) (point)))
|
||||
(save-excursion (org-back-to-heading t) (point)))
|
||||
|
||||
(defsubst org-entry-end-position ()
|
||||
"Return the end position of the current entry."
|
||||
|
|
Loading…
Reference in New Issue