SummaryRefsLogTreeCommitDiffStats
path: root/scm/mcron/vixie-specification.scm
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2015-09-07 00:00:31 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-05-07 16:17:52 +0200
commitf2c56d355f883dd60aef020b4e363739aeff856c (patch)
treef1aaa51f1f12f20c8563b9eab2097f4b8978ae2b /scm/mcron/vixie-specification.scm
parentb2718d2cc9a70eda04822b7c8e11aa3e5fabface (diff)
downloadmcron-f2c56d355f883dd60aef020b4e363739aeff856c.tar.gz
mcron-f2c56d355f883dd60aef020b4e363739aeff856c.tar.bz2
mcron-f2c56d355f883dd60aef020b4e363739aeff856c.zip
all: Add a custom indentation rule for 'mcron-error'.
* .dir-locals.el: Define a custom indentation rule for 'mcron-error'. * scm/mcron/crontab.scm: Use it. * scm/mcron/job-specifier.scm: Likewise. * scm/mcron/main.scm: Likewise. * scm/mcron/vixie-specification.scm: Likewise.
Diffstat (limited to 'scm/mcron/vixie-specification.scm')
-rw-r--r--scm/mcron/vixie-specification.scm12
1 files changed, 5 insertions, 7 deletions
diff --git a/scm/mcron/vixie-specification.scm b/scm/mcron/vixie-specification.scm
index ab002ba..5cd1528 100644
--- a/scm/mcron/vixie-specification.scm
+++ b/scm/mcron/vixie-specification.scm
@@ -162,13 +162,11 @@
(parse-vixie-environment line)
(parse-vixie-line line)))
(lambda (key exit-code . msg)
- (throw
- 'mcron-error
- exit-code
- (apply string-append
- (number->string report-line)
- ": "
- msg)))))))))
+ (throw 'mcron-error exit-code
+ (apply string-append
+ (number->string report-line)
+ ": "
+ msg)))))))))