Fix regression in marking files in Dired
This commit is contained in:
parent
f286ce396d
commit
6291d3b7b1
5
sxiv.el
5
sxiv.el
|
@ -88,8 +88,9 @@ Return PATHS unchanged."
|
|||
"Open a `dired' buffer and mark any files marked by the user in `sxiv'."
|
||||
(find-file sxiv--directory)
|
||||
(let ((files (--> (split-string output "\n")
|
||||
(-drop-last 1 it)
|
||||
(sxiv-insert-subdirs it))))
|
||||
(-drop-last 1 it)
|
||||
(mapcar #'file-relative-name it)
|
||||
(sxiv-insert-subdirs it))))
|
||||
(dired-mark-if
|
||||
(and (not (looking-at-p dired-re-dot))
|
||||
(not (eolp))
|
||||
|
|
Reference in New Issue