diff options
| author | Phillip Lord <phillip.lord@russet.org.uk> | 2019-06-17 17:24:13 +0100 |
|---|---|---|
| committer | Phillip Lord <phillip.lord@russet.org.uk> | 2019-06-17 17:24:13 +0100 |
| commit | d37519f54c903bc51377a261c070cb0e0987fbc5 (patch) | |
| tree | 852cba76d34ea2698aedcb864c7df8d90baac4e1 /robot/robot.el | |
| parent | 50885fbeea8a282dc027b03b19097de3c6dabd18 (diff) | |
| download | org-drill-d37519f54c903bc51377a261c070cb0e0987fbc5.tar.gz org-drill-d37519f54c903bc51377a261c070cb0e0987fbc5.zip | |
Clean up robot testing
Diffstat (limited to 'robot/robot.el')
| -rw-r--r-- | robot/robot.el | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/robot/robot.el b/robot/robot.el index 43f31da..a9813d9 100644 --- a/robot/robot.el +++ b/robot/robot.el @@ -9,8 +9,17 @@ (setq debug-on-error t) (setq debug-on-quit t) +(defun robot-file (file) + (concat top-dir "robot/" file)) + (defun clean (file) - (delete-file (concat top-dir "robot/" file))) + (delete-file (robot-file file))) + +(defun copy (from to) + (copy-file (robot-file from) (robot-file to) t)) + +(defun find (file) + (find-file (robot-file file))) ;; Clean up (clean "failure.txt") |
