aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian/sisu.emacsen-startup
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-12-15 00:07:07 -0500
committerRalph Amissah <ralph@amissah.com>2015-12-15 00:07:07 -0500
commitb5538310dabc893ee54c3a2be4b0fec7ce968511 (patch)
tree2eef6393f84b27ce6bd04899020912b07ba20b7d /debian/sisu.emacsen-startup
parentMerge tag 'sisu_7.1.6' into debian/sid (diff)
debian/sisu.install debian/sisu.emacsen-startup emacs related tinkering
* debian/sisu.install emacs files sisu-mode.el sisu-mode-autoloads.el * debian/sisu.emacsen-startup used by dh_installemacsen * see debian bug #807793, Kevin Ryde
Diffstat (limited to 'debian/sisu.emacsen-startup')
-rw-r--r--debian/sisu.emacsen-startup9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/sisu.emacsen-startup b/debian/sisu.emacsen-startup
new file mode 100644
index 00000000..e598e666
--- /dev/null
+++ b/debian/sisu.emacsen-startup
@@ -0,0 +1,9 @@
+;;; 50sisu.el -- debian emacs setups for sisu
+
+(if (not (file-exists-p "/usr/share/emacs/site-lisp/sisu-mode.el"))
+ (message "sisu removed but not purged, skipping setup")
+
+ (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)))