mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-15 17:00:45 +00:00
Check org-inlinetask-export-templates before exporting inline tasks
* lisp/org-inlinetask.el (org-inlinetask-export-handler): Don't export inline tasks if the current backend has provided no entries in org-inlinetask-export-templates.
This commit is contained in:
parent
ce6010262d
commit
b5b4134d0c
@ -333,7 +333,9 @@ Either remove headline and meta data, or do special formatting."
|
||||
;; Remove the task.
|
||||
(goto-char beg)
|
||||
(delete-region beg end)
|
||||
(when org-inlinetask-export
|
||||
(when (and org-inlinetask-export
|
||||
(assq org-export-current-backend
|
||||
org-inlinetask-export-templates))
|
||||
;; Format CONTENT, if appropriate.
|
||||
(setq content
|
||||
(if (not (and content (string-match "\\S-" content)))
|
||||
|
Loading…
Reference in New Issue
Block a user