aboutsummaryrefslogtreecommitdiffstats
path: root/oni-jabber.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-02-27 23:43:16 -0800
committerGravatar Tom Willemse2019-02-27 23:43:16 -0800
commitbab53707b6fdf4fc8e27efa52de02f093f3cf218 (patch)
tree745ba829229e311de70cbe0f205bd9f7664ad27d /oni-jabber.el
parentba7e1b93084fd3f7a329ddbc92650bedaab41036 (diff)
downloademacs-config-bab53707b6fdf4fc8e27efa52de02f093f3cf218.tar.gz
emacs-config-bab53707b6fdf4fc8e27efa52de02f093f3cf218.zip
Add oni-data-dir
Diffstat (limited to 'oni-jabber.el')
-rw-r--r--oni-jabber.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/oni-jabber.el b/oni-jabber.el
index 076e307..5a13033 100644
--- a/oni-jabber.el
+++ b/oni-jabber.el
@@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 20190221004411
-;; Package-Requires: (jabber)
+;; Version: 20190227233209
+;; Package-Requires: (jabber oni-data-dir)
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -27,6 +27,7 @@
;;; Code:
(require 'jabber)
+(require 'oni-data-dir)
(defun oni-jabber-set-default-directory ()
"Set the default directory to my home directory."
@@ -55,10 +56,9 @@ Insert PROPOSED-ALERT in the buffer if it is non-nil."
(:connection-type . starttls))))
(setq jabber-avatar-cache-directory
- (concat user-emacs-directory "data/jabber/avatars/"))
+ (oni-data-dir-locate "jabber/avatars/"))
-(setq jabber-history-dir
- (concat user-emacs-directory "data/jabber/hist/"))
+(setq jabber-history-dir (oni-data-dir-locate "jabber/hist/"))
(setq jabber-chat-buffer-format "+%n"
jabber-chat-foreign-prompt-format "%t %n "