aboutsummaryrefslogtreecommitdiff
path: root/snakemake.el
diff options
context:
space:
mode:
Diffstat (limited to 'snakemake.el')
-rw-r--r--snakemake.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/snakemake.el b/snakemake.el
index 99473fc..7778bbe 100644
--- a/snakemake.el
+++ b/snakemake.el
@@ -192,7 +192,8 @@ Which Snakefile, if any, is current is determined by the value of
(when topdir
(and (file-exists-p (expand-file-name "Snakefile" topdir))
topdir))))
- (user-error "No Snakefile found for %s" default-directory))))
+ (user-error "No Snakefile found for %s"
+ (abbreviate-file-name default-directory)))))
(defvar snakemake--cache (make-hash-table :test #'equal))
(defmacro snakemake-with-cache (directory cache-info &rest body)