fixed mimetype bug

This commit is contained in:
ndwarshuis 2019-03-19 18:18:39 -04:00
parent 1741342378
commit 55f23dd2da
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ OS is one of those in `system-type'."
"Return all applications that can open a given MIMETYPE.
The list is comprised of alists where pairs are of the form (name . command)."
(let* ((case-fold-search nil)
(mime-regex (concat "^MimeType=.*" mimetype ";.*$"))
(mime-regex (concat "^MimeType=.*" mimetype ";?.*$"))
(desktop-dirs '("/usr/share/applications"
"/usr/local/share/applications"
"~/.local/share/applications"))