Fix org mime type definition

This commit is contained in:
TEC 2021-02-03 16:34:20 +08:00
parent b75d172bb9
commit 9962f75d4a
Signed by: tec
GPG key ID: 779591AFDB81F06C

View file

@ -3851,9 +3851,8 @@ in an ~(after! ...)~ block.
**** Mime types **** Mime types
Org mode isn't recognised as it's own mime type by default, but that can easily Org mode isn't recognised as it's own mime type by default, but that can easily
be changed with the following file. For system-wide changes try be changed with the following file. For system-wide changes try
~~/usr/share/mime/packages/org.xml~. ~/usr/share/mime/packages/org.xml~.
#+begin_src xml :tangle ~/.local/share/mime/packages/org.xml :mkdirp yes #+begin_src xml :tangle ~/.local/share/mime/packages/org.xml :mkdirp yes :comments none
<?xml version="1.0" encoding="utf-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="text/org"> <mime-type type="text/org">
<comment>Emacs Org-mode File</comment> <comment>Emacs Org-mode File</comment>