all repos — archive/dotfiles @ 818df9fc3af1a0f6deb903d262065256938e5676

Superseded by nixfiles

Emacs: Set latitude and longitude to Berlin
Alan Pearce alan.pearce@spotcap.com
Mon, 16 Nov 2015 16:33:45 +0100
commit

818df9fc3af1a0f6deb903d262065256938e5676

parent

b1dd16c2b12ed760658db3f7f47aab3c7234c43e

1 files changed, 7 insertions(+), 5 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -807,11 +807,13 @@ ** Calendar 
 Weeks start on Monday for me and I prefer ISO-style dates.
 #+BEGIN_SRC emacs-lisp
-(req-package calendar
-  :defer 1
-  :config (progn
-            (setq calendar-week-start-day 1)
-            (calendar-set-date-style 'iso)))
+  (req-package calendar
+    :defer 1
+    :config (progn
+              (setq calendar-week-start-day 1)
+              (calendar-set-date-style 'iso)
+              (setq calendar-latitude 52.52
+                    calendar-longitude 13.40)))
 #+END_SRC
 
 Sometimes I want to insert a date or time into a buffer.