Don’t return a value qml can’t understand

This commit is contained in:
Renaud Casenave-Péré 2023-01-24 09:23:40 +01:00
parent 10c872f461
commit 241f437de7

View file

@ -55,7 +55,8 @@
(make-org-model pathname org-document)
(initialize-commands pathname)
(push-to-recent-files pathname)
(setf currently-open-file pathname)))
(setf currently-open-file pathname)
nil))
(defun close-file (&optional filepath)
(let ((pathname (if filepath (parse-namestring filepath) currently-open-file)))