Fix export of links to attachements
* lisp/org.el (org-entry-properties): Ignore narrowing when retrieving current headline properties.
This commit is contained in:
parent
4e798549fe
commit
c5aad89f5a
|
@ -15183,15 +15183,14 @@ is a string only get exactly this property. SPECIFIC can be a string, the
|
|||
specific property we are interested in. Specifying it can speed
|
||||
things up because then unnecessary parsing is avoided."
|
||||
(setq which (or which 'all))
|
||||
(org-with-wide-buffer
|
||||
(org-with-point-at pom
|
||||
(let ((clockstr (substring org-clock-string 0 -1))
|
||||
(excluded '("TODO" "TAGS" "ALLTAGS" "PRIORITY" "BLOCKED"))
|
||||
(case-fold-search nil)
|
||||
beg end range props sum-props key key1 value string clocksum clocksumt)
|
||||
(save-excursion
|
||||
(when (condition-case nil
|
||||
(and (derived-mode-p 'org-mode) (org-back-to-heading t))
|
||||
(error nil))
|
||||
(when (and (derived-mode-p 'org-mode)
|
||||
(ignore-errors (org-back-to-heading t)))
|
||||
(setq beg (point))
|
||||
(setq sum-props (get-text-property (point) 'org-summaries))
|
||||
(setq clocksum (get-text-property (point) :org-clock-minutes)
|
||||
|
|
Loading…
Reference in New Issue