all repos — nixfiles @ b8d9a1b41445af20d2f5c6d8d5db04f040de3a77

System and user configuration, managed by nix and home-manager

Emacs: Remove osx-location.

I probably won’t be travelling with my Macbook often…
Alan Pearce alan.pearce@spotcap.com
Thu, 17 Mar 2016 12:16:45 +0100
commit

b8d9a1b41445af20d2f5c6d8d5db04f040de3a77

parent

425113d5ee191c851d96117a03553407a3dbdd55

1 files changed, 0 insertions(+), 15 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -964,21 +964,6 @@ "Provide the date/time 24 hours before the time now in the format of current-time."     (timer-relative-time (current-time) -86400))
 #+END_SRC
 
-** Time of Day
-
-#+BEGIN_SRC emacs-lisp
-  (use-package osx-location
-    :if (eq system-type 'darwin)
-    :config (progn
-              (add-hook 'osx-location-changed-hook
-                        (lambda ()
-                          (setq calendar-latitude osx-location-latitude
-                                calendar-longitude osx-location-longitude)
-                          (when (boundp 'calendar-location-name)
-                            calendar-location-name (format "%s, %s" osx-location-latitude osx-location-longitude))))
-              (osx-location-watch)))
-#+END_SRC
-
 * Directories
 
 Dired works quite nicely, but not always in the way I want.  I don’t