summaryrefslogtreecommitdiffstats
path: root/emacs/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.org')
-rw-r--r--emacs/init.org18
1 files changed, 18 insertions, 0 deletions
diff --git a/emacs/init.org b/emacs/init.org
index 5394f5e..7fc6a8d 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -487,6 +487,16 @@
* jabber
+ Don't echo presence updates in the message area.
+
+ #+BEGIN_SRC emacs-lisp
+ (defun oni:jabber-init ()
+ "Initialization function for jabber."
+ (remove-hook 'jabber-alert-presence-hooks 'jabber-presence-echo))
+
+ (eval-after-load "jabber" '(oni:jabber-init))
+ #+END_SRC
+
Require ~jabber-libnotify~ so we can use its alert functions.
#+BEGIN_SRC emacs-lisp
@@ -517,6 +527,14 @@
jabber-history-dir "~/.emacs.d/jabber-hist")
#+END_SRC
+ Add some accounts.
+
+ #+BEGIN_SRC emacs-lisp
+ (setq jabber-account-list '(("ryuslash@jabber.org")
+ ("tom@ryuslash.org/drd"
+ (:connection-type . ssl))))
+ #+END_SRC
+
* ido
Keep some buffers from showing up when using ido-mode. Either these