Define specific document type for orgmode sub-documents

This commit is contained in:
Jean-Francois Dockes
2022-01-04 14:02:26 +01:00
parent a7a66ebc03
commit b3bb3784fc
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class OrgModeExtractor:
iseof = rclexecm.RclExecM.noteof
if self.currentindex >= len(self.docs) -1:
iseof = rclexecm.RclExecM.eofnext
self.em.setmimetype("text/plain")
self.em.setmimetype("text/x-orgmode-sub")
try:
self.em.setfield("title", docdata.splitlines()[0])
except: