diff options
Diffstat (limited to 'oni-jabber.el')
-rw-r--r-- | oni-jabber.el | 10 |
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 " |