aboutsummaryrefslogtreecommitdiff
path: root/robot
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2019-06-15 21:22:35 +0100
committerPhillip Lord <phillip.lord@russet.org.uk>2019-06-15 21:22:35 +0100
commit46d71b5218eadb2be2ec5ca32e5fe40f0640bbb9 (patch)
tree3202a46b12cdd8b80d8939e53f9e5df707adb7bd /robot
parent5bc955b0667dbaa579f07fb291f244855eacf9a3 (diff)
downloadorg-drill-46d71b5218eadb2be2ec5ca32e5fe40f0640bbb9.tar.gz
org-drill-46d71b5218eadb2be2ec5ca32e5fe40f0640bbb9.zip
Add lexical-binding
Diffstat (limited to 'robot')
-rw-r--r--robot/org-drill-in-running.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/robot/org-drill-in-running.el b/robot/org-drill-in-running.el
new file mode 100644
index 0000000..d8e093e
--- /dev/null
+++ b/robot/org-drill-in-running.el
@@ -0,0 +1,9 @@
+(setq top-dir default-directory)
+
+(defun org-drill-bot ()
+ (interactive)
+ (copy-file (concat top-dir "main-test.org")
+ (concat top-dir "main-test-interactive-copy.org") t)
+ (find-file (concat top-dir "main-test-interactive-copy.org"))
+ (org-drill)
+ (set-buffer-modified-p))