diff options
-rw-r--r-- | data/freedesktop.org.xml.in | 5 | ||||
-rw-r--r-- | tests/mime-detection/list | 3 | ||||
-rw-r--r-- | tests/mime-detection/test.org | 15 |
3 files changed, 23 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 7606ac23..07fcdae7 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -7680,4 +7680,9 @@ command to generate the output files. </magic> <glob pattern="*.smk"/> </mime-type> + <mime-type type="text/org"> + <comment>Org-mode file</comment> + <sub-class-of type="text/plain"/> + <glob pattern="*.org"/> + </mime-type> </mime-info> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index a9079f92..d408e21e 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -834,3 +834,6 @@ test.kt text/x-kotlin ox # https://aomediacodec.github.io/av1-avif/ test.avif image/avif test.avifs image/avif + +# Org-mode file +test.org text/org ox
\ No newline at end of file diff --git a/tests/mime-detection/test.org b/tests/mime-detection/test.org new file mode 100644 index 00000000..04365a8f --- /dev/null +++ b/tests/mime-detection/test.org @@ -0,0 +1,15 @@ +#+TITLE: Prueba shared-mime-info +#+AUTHOR: Autores +#+DATE: 01-01-2021 + +Lorem ipsum dolor sit amet, consectectur adisplicit elit +* Prima +** Secunda +** Tertia +* Quarta +** Quinta +*** Sexta +*** Septima +** Octava +* Nona +** Decima |