nyxt: Make dev-data-profile use the next method instead of hard-coding expand-default-path.

master
Pierre Neidhardt 2021-07-21 09:24:31 +02:00
parent 1e2246d95d
commit a71ea16b90
1 changed files with 4 additions and 3 deletions

View File

@ -301,9 +301,10 @@ format."
(defmethod nyxt:expand-data-path ((profile dev-data-profile) (path data-path))
"Persist data to /tmp/nyxt/."
(expand-default-path (make-instance (class-name (class-of path))
:basename (basename path)
:dirname "/tmp/nyxt/")))
(call-next-method profile
(make-instance (class-name (class-of path))
:basename (basename path)
:dirname "/tmp/nyxt/")))
;; After init:
(load (nyxt-init-file "config.lisp"))