summaryrefslogtreecommitdiffstats
path: root/debian/sisu.emacsen-startup
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sisu.emacsen-startup')
-rw-r--r--debian/sisu.emacsen-startup12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/sisu.emacsen-startup b/debian/sisu.emacsen-startup
new file mode 100644
index 0000000..bd0ca0e
--- /dev/null
+++ b/debian/sisu.emacsen-startup
@@ -0,0 +1,12 @@
+;;; 50sisu.el -- debian emacs setups for sisu
+
+(if (not (file-exists-p "/usr/share/emacs/site-lisp/sisu/sisu-mode.el"))
+ (message "sisu removed but not purged, skipping setup")
+
+ ;; not byte compiled so this is the source dir
+ (debian-pkg-add-load-path-item "/usr/share/emacs/site-lisp/sisu")
+
+ (autoload 'sisu-mode "sisu-mode" "Major mode for editing SiSU files." t)
+ (add-to-list 'auto-mode-alist '("\\.sst\\'" . sisu-mode))
+ (add-to-list 'auto-mode-alist '("\\.ssm\\'" . sisu-mode))
+ (add-to-list 'auto-mode-alist '("\\.ssi\\'" . sisu-mode)))