aboutsummaryrefslogtreecommitdiff
path: root/robot/robot.el
diff options
context:
space:
mode:
Diffstat (limited to 'robot/robot.el')
-rw-r--r--robot/robot.el11
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")