From a1bf5df28228eb8e1c5f418efb93e9aacc51d12b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 2 Jun 2014 23:53:08 +0200 Subject: auto-init appt --- .emacs.d/init.el | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 8ee6b79..4941397 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -22,7 +22,6 @@ (autoload 'jabber-connect "jabber" nil t) (autoload 'jabber-message-libnotify "jabber-libnotify") (autoload 'jabber-muc-libnotify "jabber-libnotify") -(autoload 'jabber-send-message "jabber-chat") (autoload 'moz-minor-mode "moz" nil t) (autoload 'notifications-notify "notifications") (autoload 'php-mode "php-mode" nil t) @@ -130,7 +129,6 @@ MODE1 is enabled and vice-versa." (defvar sql-product) (defvar sql-prompt-regexp) (defvar whitespace-style) -(defvar jabber-connections) (defvar *jabber-connected*) (defvar *jabber-current-status*) @@ -156,13 +154,6 @@ MODE1 is enabled and vice-versa." (shell-command (concat "make -C " dom-dir " TAGS >/dev/null 2>&1"))))) -(defun oni:appt-display-window-and-jabber (min-to-app new-time appt-msg) - "Send a message to my phone jabber account." - (jabber-send-message (car jabber-connections) "phone@ryuslash.org" - nil (format "%s%s (in %s minutes)" - new-time appt-msg min-to-app) nil) - (appt-disp-window min-to-app new-time appt-msg)) - (defun oni:augment-sql-prompt () "Add the MariaDB prompt to the `sql-prompt-regexp'." (if (eq sql-product 'mysql) @@ -883,9 +874,7 @@ from myaethon2.core.decorators import ( ;;;; Module-specific settings -(stante-after appt - (setq appt-disp-window-function #'oni:appt-display-window-and-jabber) - (setq appt-display-diary nil)) +(auto-init appt) (stante-after auto-complete (add-to-list 'ac-modes 'slime-repl-mode) -- cgit v1.2.3-54-g00ecf