summaryrefslogtreecommitdiff
path: root/debian/emacsen-startup
diff options
context:
space:
mode:
Diffstat (limited to 'debian/emacsen-startup')
-rw-r--r--debian/emacsen-startup17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/emacsen-startup b/debian/emacsen-startup
new file mode 100644
index 0000000..0be558b
--- /dev/null
+++ b/debian/emacsen-startup
@@ -0,0 +1,17 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for jabber.el as packaged for Debian
+
+(if (not (file-exists-p "/usr/share/emacs/site-lisp/emacs-jabber"))
+ (message
+ "Package emacs-jabber removed but not purged. Skipping setup.")
+ (debian-pkg-add-load-path-item
+ (concat "/usr/share/" (symbol-name flavor) "/site-lisp/emacs-jabber"))
+
+ ;; Make sure that the uncompiled files are also in the load-path, near the
+ ;; end. This is for moving point to the code when view help.
+ (setq load-path
+ (nconc load-path (list "/usr/share/emacs/site-lisp/emacs-jabber")))
+
+ (require 'jabber))
+