emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/calibre 339258061e 3/9: Expand file name before opening


From: ELPA Syncer
Subject: [elpa] externals/calibre 339258061e 3/9: Expand file name before opening files
Date: Tue, 16 Jan 2024 12:57:40 -0500 (EST)

branch: externals/calibre
commit 339258061efee584fcd94394aa94c06ba54ad009
Author: Kjartan Oli Agustsson <kjartanoli@disroot.org>
Commit: Kjartan Oli Agustsson <kjartanoli@disroot.org>

    Expand file name before opening files
    
    * calibre-core.el (calibre-book--file): Call expand-file-name
---
 calibre-core.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/calibre-core.el b/calibre-core.el
index 915f1702e1..4e5ecf2623 100644
--- a/calibre-core.el
+++ b/calibre-core.el
@@ -198,9 +198,9 @@ BOOK is a `calibre-book'."
   "Return the path to BOOK in FORMAT."
   (let ((path (calibre-book-path book))
         (file-name (calibre-book-file-name book)))
-    (file-name-concat (calibre--library)
-                      path
-                      (format "%s.%s" file-name format))))
+    (expand-file-name (file-name-concat (calibre--library)
+                                        path
+                                        (format "%s.%s" file-name format)))))
 
 (defun calibre-composite-filter-p (object)
   "Return t if OBJECT is a composite filter."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]