summaryrefslogtreecommitdiff
path: root/app-emacs/erobot/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/erobot/files')
-rw-r--r--app-emacs/erobot/files/50erobot-gentoo.el4
-rw-r--r--app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch11
2 files changed, 15 insertions, 0 deletions
diff --git a/app-emacs/erobot/files/50erobot-gentoo.el b/app-emacs/erobot/files/50erobot-gentoo.el
new file mode 100644
index 000000000000..9ca415017af3
--- /dev/null
+++ b/app-emacs/erobot/files/50erobot-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'erobot "erobot" "Starts a game of erobot." t)
+(autoload 'erobot-tour "erobot"
+ "Introduction to some of the erobots included in the package." t)
diff --git a/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch b/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch
new file mode 100644
index 000000000000..69b195170a85
--- /dev/null
+++ b/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch
@@ -0,0 +1,11 @@
+--- erobot.el~ 2002-09-28 21:25:39.000000000 +0200
++++ erobot.el 2007-04-21 11:57:15.000000000 +0200
+@@ -230,7 +230,7 @@
+ `erobot-max-turns' has been exceeded, or if the char q is pressed
+ while the game is running. When the game ends, the candidates on
+ the map are returned in a list."
+- (interactive "i\n\naCandidate A: \naCandidate B: ")
++ (interactive "aCandidate A: \naCandidate B: ")
+ ;; Place candidates on the map and set erobot-candidates
+ (setq erobot-candidates nil)
+ (erobot-initialize candidates)