From f286ce396d147d735470cf9c7d81faf422d461ee Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Wed, 11 May 2022 23:35:07 +0530 Subject: [PATCH] Fix regression in opening the file at point --- sxiv.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sxiv.el b/sxiv.el index 8fbe313..51a5f0c 100644 --- a/sxiv.el +++ b/sxiv.el @@ -127,7 +127,7 @@ required for `dired-mode' buffers." (image-at-point (and path-at-point ;; REVIEW - also check if file is an image? (file-regular-p path-at-point) - (file-relative-name path-at-point))) + path-at-point)) (index (when image-at-point (--find-index (equal image-at-point it) paths)))) (when index (1+ index))))