diff --git a/etc/conf.org b/etc/conf.org index 402cada..e2639d0 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -272,7 +272,8 @@ 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 (format "^MimeType=.*%s;?.*$" mimetype))) + (mime-regex (->> (regexp-quote mimetype) + (format "^MimeType=.*%s;?.*$")))) (->> (list "/usr/share/applications" "/usr/local/share/applications" "~/.local/share/applications")