aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el50
1 files changed, 1 insertions, 49 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 69f3773..1a89c6f 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -383,55 +383,7 @@
(with-eval-after-load 'lui (load "oni-lui-init"))
-(eval-when-compile (require 'jabber))
-
-(setq jabber-account-list
- `((,(concat "ryuslash@dukgo.com/" (system-name))
- (:connection-type . starttls))))
-
-(setq jabber-avatar-cache-directory (oni:data-location "jabber/avatars/")
- jabber-history-dir (oni:data-location "jabber/hist/"))
-
-(setq jabber-chat-buffer-format "+%n"
- jabber-chat-foreign-prompt-format "%t %n "
- jabber-chat-local-prompt-format "%t %n "
- jabber-chat-delayed-time-format "%H:%M"
- jabber-groupchat-buffer-format "++%n"
- jabber-groupchat-prompt-format "%t %n ")
-
-(setq jabber-chat-buffer-show-avatar nil
- jabber-vcard-avatars-publish nil
- jabber-vcard-avatars-retrieve nil)
-
-(setq jabber-chat-fill-long-lines nil)
-
-(add-hook 'jabber-chat-mode-hook 'visual-line-mode)
-
-(setq jabber-chatstates-confirm nil)
-
-(setq jabber-muc-colorize-local t
- jabber-muc-colorize-foreign t)
-
-(setq jabber-history-enabled t
- jabber-use-global-history nil)
-
-(setq jabber-roster-show-bindings nil
- jabber-show-offline-contacts nil)
-
-(add-hook 'jabber-roster-mode-hook 'oni-jabber-set-roster-mode-line)
-
-(add-hook 'jabber-alert-message-hooks 'jabber-message-libnotify)
-(add-hook 'jabber-alert-muc-hooks 'jabber-muc-libnotify)
-
-(with-eval-after-load 'jabber-alert
- (remove-hook 'jabber-alert-presence-hooks 'jabber-presence-echo))
-
-(add-hook 'jabber-alert-presence-hooks 'oni-jabber-show-status-in-buffer)
-
-(defun oni:set-default-directory ()
- (setq default-directory "~/"))
-
-(add-hook 'jabber-chat-mode-hook 'oni:set-default-directory)
+(with-eval-after-load 'jabber (load "oni-jabber-init"))
(with-eval-after-load 'gnus (load "oni-gnus-init"))