config/doom: fix dragon

This commit is contained in:
xeruf 2022-11-09 18:51:00 +01:00
parent cf22927adf
commit e1a9ec48ca
1 changed files with 5 additions and 4 deletions

View File

@ -83,11 +83,12 @@ Version 2019-11-04 2021-02-16"
`("dragon" nil
"dragon-drop" "-a" "-x"
,@(dired-get-marked-files)
,(unless (dired-get-marked-files)
(or (buffer-file-name)
,@(unless (dired-get-marked-files)
(list (or (buffer-file-name)
(image-dired-original-file-name)
default-directory)
)))
default-directory))
))
)
)
(defun xf/org-journal-current ()