1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-01-20 03:08:54 +01:00

- prevented crash when a program to open a link is not found.

This commit is contained in:
cage 2021-02-11 15:27:58 +01:00
parent 07d04f760a
commit bc3e7685a7

View File

@ -769,7 +769,7 @@
(gen-simple-access (all-link-open-program) +key-open-link-helper+)
(defun link-regex->program-to-use (link)
(let ((found (find-if (lambda (a)
(when-let ((found (find-if (lambda (a)
(cl-ppcre:scan (re a) link))
(config-all-link-open-program))))
(program-name found)))