summaryrefslogtreecommitdiff
path: root/debian/emacs-jabber.emacsen-startup
diff options
context:
space:
mode:
Diffstat (limited to 'debian/emacs-jabber.emacsen-startup')
-rw-r--r--debian/emacs-jabber.emacsen-startup14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/emacs-jabber.emacsen-startup b/debian/emacs-jabber.emacsen-startup
new file mode 100644
index 0000000..7bb2aca
--- /dev/null
+++ b/debian/emacs-jabber.emacsen-startup
@@ -0,0 +1,14 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian emacs-jabber package.
+
+(if (file-exists-p "/usr/share/emacs/site-lisp/emacs-jabber")
+ (progn
+ (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
+ (append load-path '("/usr/share/emacs/site-lisp/emacs-jabber")))
+ (load "jabber-autoloads"))
+ (message "Package emacs-jabber removed but not purged. Skipping setup."))