Skip to content

Commit

Permalink
mode/file-manager: Minor refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
aadcg committed Aug 5, 2024
1 parent 3ee847d commit 04fe4de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/mode/file-manager.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,11 @@ Can be used as a `open-file-function'."
(handler-case
(cond
(supported-p
(let ((file-url (quri::make-uri-file :path filename)))
(let ((file-url (quri:make-uri-file :path filename)))
(if new-buffer-p
(make-buffer-focus :url file-url)
(buffer-load file-url))))
((not (null *open-program*))
(*open-program*
(let ((process (uiop:launch-program
(list *open-program* (uiop:native-namestring filename))
:error-output :stream)))
Expand Down

0 comments on commit 04fe4de

Please sign in to comment.