summaryrefslogtreecommitdiff
path: root/app-emacs/quack/files/50quack-gentoo.el
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/quack/files/50quack-gentoo.el')
-rw-r--r--app-emacs/quack/files/50quack-gentoo.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-emacs/quack/files/50quack-gentoo.el b/app-emacs/quack/files/50quack-gentoo.el
new file mode 100644
index 000000000000..22cca093d956
--- /dev/null
+++ b/app-emacs/quack/files/50quack-gentoo.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'quack-scheme-mode-hookfunc "quack")
+(autoload 'quack-inferior-scheme-mode-hookfunc "quack")
+(autoload 'quack-pltfile-mode "quack"
+ "Major mode for viewing PLT Scheme `.plt' package files." t)
+
+(add-hook 'scheme-mode-hook 'quack-scheme-mode-hookfunc)
+(add-hook 'inferior-scheme-mode-hook 'quack-inferior-scheme-mode-hookfunc)
+(add-to-list 'auto-mode-alist '("\\.plt\\'" . quack-pltfile-mode))