mirror of
https://codeberg.org/cage/tinmop/
synced 2024-12-20 23:34:40 +01:00
- [gemini] allowed opening local folder using 'ui:open-gemini-address'.
This commit is contained in:
parent
9dd77c549d
commit
ff99cd50b6
@ -1778,10 +1778,9 @@ open-message-link-window:open-message-link"
|
||||
(defun open-gemini-address ()
|
||||
"Ask for a gemini address and try to load it"
|
||||
(flet ((on-input-complete (url)
|
||||
(if (gemini-parser:gemini-iri-p url)
|
||||
(gemini-viewer:load-gemini-url url
|
||||
:priority program-events:+maximum-event-priority+)
|
||||
(error-message (_ "This is not a valid gemini address")))))
|
||||
(gemini-viewer:load-gemini-url url
|
||||
:priority program-events:+maximum-event-priority+)))
|
||||
|
||||
(let ((prompt (gemini-open-url-prompt)))
|
||||
(ask-string-input #'on-input-complete
|
||||
:prompt prompt
|
||||
|
Loading…
Reference in New Issue
Block a user