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:
parent
07d04f760a
commit
bc3e7685a7
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user