summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el18
1 files changed, 13 insertions, 5 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 8791fe1..23d68f8 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -316,12 +316,20 @@
;;-----[ Gnus ]----------------------------------------------------------
(setq gnus-init-file "~/.emacs.d/gnus")
+;;-----[ Autosmiley ]----------------------------------------------------
+(require 'autosmiley)
+
;;-----[ Jabber ]--------------------------------------------------------
-(require 'jabber-autoloads)
-(setq jabber-account-list
- '(("ryuslash@gmail.com"
- (:network-server . "talk.google.com")
- (:connection-type . ssl))))
+(when (require 'jabber-autoloads nil 'noerror)
+ (setq jabber-account-list
+ '(("ryuslash@gmail.com"
+ (:network-server . "talk.google.com")
+ (:connection-type . ssl))))
+ (setq jabber-history-enabled t)
+ (setq jabber-use-global-history nil)
+ (define-key jabber-chat-mode-map [S-return] 'newline)
+ (define-key jabber-chat-mode-map [C-return] 'newline)
+ (add-hook 'jabber-chat-mode-hook 'autosmiley-mode))
;;-----[ X11 ]-----------------------------------------------------------
(when window-system