Fix duplicate paths in initial input for doom/load-session
This commit is contained in:
parent
ab954439e8
commit
3e3808aa8d
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@
|
|||
(let ((session-file (doom-session-file)))
|
||||
(list (or (read-file-name "Session to restore: "
|
||||
(file-name-directory session-file)
|
||||
nil t
|
||||
(file-name-nondirectory session-file))
|
||||
(file-name-nondirectory session-file)
|
||||
t)
|
||||
(user-error "No session selected. Aborting")))))
|
||||
(unless file
|
||||
(error "No session file selected"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue