summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-03-17 12:16:45 +0100
committerAlan Pearce2016-03-17 12:16:45 +0100
commitb8d9a1b41445af20d2f5c6d8d5db04f040de3a77 (patch)
treee3abea0a45af2a932b222eb13bb53ceecb89d3aa /tag-emacs
parent425113d5ee191c851d96117a03553407a3dbdd55 (diff)
downloadnixfiles-b8d9a1b41445af20d2f5c6d8d5db04f040de3a77.tar.lz
nixfiles-b8d9a1b41445af20d2f5c6d8d5db04f040de3a77.tar.zst
nixfiles-b8d9a1b41445af20d2f5c6d8d5db04f040de3a77.zip
Emacs: Remove osx-location.
I probably won’t be travelling with my Macbook often…
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org15
1 files changed, 0 insertions, 15 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 466fc7c8..10d80c12 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -964,21 +964,6 @@ Sometimes I want to insert a date or time into a buffer.
     (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