From 04fe4de226af64d1d5c91bbf1ede76da69ae87dd Mon Sep 17 00:00:00 2001 From: "Andre A. Gomes" Date: Mon, 5 Aug 2024 22:34:58 +0300 Subject: [PATCH] mode/file-manager: Minor refactor. --- source/mode/file-manager.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/mode/file-manager.lisp b/source/mode/file-manager.lisp index 310126a8c12..58c91e5a520 100644 --- a/source/mode/file-manager.lisp +++ b/source/mode/file-manager.lisp @@ -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)))