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

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

[elpa] externals/greader 320a628033 3/3: greader-audiobook-buffer comman


From: ELPA Syncer
Subject: [elpa] externals/greader 320a628033 3/3: greader-audiobook-buffer command fixed.
Date: Mon, 23 Jun 2025 18:58:18 -0400 (EDT)

branch: externals/greader
commit 320a62803350d776bc3295bad792a898fee40fa4
Author: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
Commit: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>

    greader-audiobook-buffer command fixed.
---
 greader-audiobook.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/greader-audiobook.el b/greader-audiobook.el
index fba6ee2945..ee2b42cc85 100644
--- a/greader-audiobook.el
+++ b/greader-audiobook.el
@@ -494,8 +494,8 @@ This function will create a directory under
 buffer without the extension, if any."
 
   (interactive "P")
-  (when (directory-files greader-audiobook-base-directory nil
-                        (file-name-sans-extension (buffer-name)))
+  (when (file-exists-p (file-name-concat
+                       greader-audiobook-base-directory 
(file-name-sans-extension (buffer-name))))
     (let ((response (yes-or-no-p "This audiobook already
   exists.  Overwrite it?")))
       (if response



reply via email to

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