fixed mimetype bug
This commit is contained in:
parent
1741342378
commit
55f23dd2da
2
conf.org
2
conf.org
|
@ -150,7 +150,7 @@ OS is one of those in `system-type'."
|
||||||
"Return all applications that can open a given MIMETYPE.
|
"Return all applications that can open a given MIMETYPE.
|
||||||
The list is comprised of alists where pairs are of the form (name . command)."
|
The list is comprised of alists where pairs are of the form (name . command)."
|
||||||
(let* ((case-fold-search nil)
|
(let* ((case-fold-search nil)
|
||||||
(mime-regex (concat "^MimeType=.*" mimetype ";.*$"))
|
(mime-regex (concat "^MimeType=.*" mimetype ";?.*$"))
|
||||||
(desktop-dirs '("/usr/share/applications"
|
(desktop-dirs '("/usr/share/applications"
|
||||||
"/usr/local/share/applications"
|
"/usr/local/share/applications"
|
||||||
"~/.local/share/applications"))
|
"~/.local/share/applications"))
|
||||||
|
|
Loading…
Reference in New Issue