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

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

[nongnu] elpa/mentor a820c84923: Apply directory prefix when visiting fi


From: ELPA Syncer
Subject: [nongnu] elpa/mentor a820c84923: Apply directory prefix when visiting file at point.
Date: Fri, 29 Jul 2022 13:58:43 -0400 (EDT)

branch: elpa/mentor
commit a820c8492392d2e3480845af4f6573c942996de8
Author: John Hamelink <me@johnhame.link>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Apply directory prefix when visiting file at point.
---
 mentor.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mentor.el b/mentor.el
index 91cb997e3a..aa5e76fbcb 100644
--- a/mentor.el
+++ b/mentor.el
@@ -1512,7 +1512,7 @@ Only use when you are the first and only seeder so far 
for the download."
   "Visit files for download at point using Dired."
   (interactive)
   (let* ((is-multi-file (= (mentor-item-property 'is_multi_file) 1))
-         (directory (mentor-item-property 'directory))
+         (directory (concat mentor-directory-prefix (mentor-item-property 
'directory)))
          (name (mentor-item-property 'name))
          (target (if is-multi-file directory (expand-file-name name 
directory))))
     (when (not directory)



reply via email to

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