diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-03-26 22:18:19 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-03-26 22:20:52 -0400 |
commit | 349980879a66493ed421e9c83f4857662267b8df (patch) | |
tree | 617972d7fcd6826567a67d3b7af8310c169974c5 /snakemake.el | |
parent | 6d069952c7b6aec16e319016f218a15398198a70 (diff) | |
download | snakemake-mode-349980879a66493ed421e9c83f4857662267b8df.tar.gz |
snakemake-snakefile-directory: Abbreviate directory in error message
Diffstat (limited to 'snakemake.el')
-rw-r--r-- | snakemake.el | 3 |
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) |