summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org43
1 files changed, 0 insertions, 43 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 38d572b3..9f3f3097 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1656,49 +1656,6 @@ I can use this to keep a journal.  I should use it.
               (org-journal-read-or-display-entry (yesterday-time)))))
 #+END_SRC
 
-**** org-mobile
-
-#+BEGIN_SRC emacs-lisp
-(defun ap/org-mobile-pull (descriptor action file)
-  (org-mobile-pull))
-(use-package org-mobile
-  :defer 30
-  :ensure nil
-  :disabled t
-  :config (progn
-            (setq org-mobile-directory "~/Mobile/Org"
-                  org-mobile-inbox-for-pull "~/Mobile/Org/from-mobile.org")
-            (defvar org-mobile-push-timer nil
-              "Timer that `org-mobile-push-timer' used to reschedule itself, or nil.")
-
-            (defun org-mobile-push-with-delay (secs)
-              (when org-mobile-push-timer
-                (cancel-timer org-mobile-push-timer))
-              (setq org-mobile-push-timer
-                    (run-with-idle-timer
-                     (* 1 secs) nil 'org-mobile-push)))
-
-            (add-hook 'after-save-hook
-                      (lambda ()
-                        (when (eq major-mode 'org-mode)
-                          (dolist (file (org-mobile-files-alist))
-                            (if (string= (file-truename (expand-file-name (car file)))
-                                         (file-truename (buffer-file-name)))
-                                (org-mobile-push-with-delay 30))))))
-
-            (run-at-time "00:05" 86400 '(lambda () (org-mobile-push-with-delay 1))) ;; refreshes agenda file each day
-            (org-mobile-pull) ;; run org-mobile-pull at startup
-
-            (defvar org-mobile-watcher nil)
-            (when file-notify--library
-              (let ((org-file (expand-file-name
-                               (concat
-                                (file-name-as-directory org-mobile-directory)
-                                org-mobile-capture-file))))
-                (setq org-mobile-watcher
-                      (file-notify-add-watch org-file '(change) #'ap/org-mobile-pull))))))
-#+END_SRC
-
 **** org-caldav
 
 I’ve setup CalDAV on my server, it would be nice to use it directly