Define specific document type for orgmode sub-documents
This commit is contained in:
parent
a7a66ebc03
commit
b3bb3784fc
@ -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:
|
||||
|
||||
@ -225,6 +225,7 @@ text/x-lua = internal
|
||||
text/x-mail = internal
|
||||
text/x-man = exec rclman;maxseconds=30
|
||||
text/x-orgmode = execm rclorgmode.py
|
||||
text/x-orgmode-sub = internal text/plain
|
||||
text/x-perl = internal text/plain
|
||||
text/x-purple-html-log = internal text/html
|
||||
text/x-purple-log = exec rclpurple
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user