summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-03-03 23:15:51 -0500
committerKyle Meyer <kyle@kyleam.com>2016-03-03 23:15:51 -0500
commit408832130561d051ddc35efa766786d53486d4e0 (patch)
tree01ab200fece75bc15b41e940e4a3ff91c0fbfd14
parent345046cbbbb8b8ad486a0793a6eb047f17f0fa6c (diff)
downloademacs.d-408832130561d051ddc35efa766786d53486d4e0.tar.gz
org: Ignore calendar point
-rw-r--r--init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el
index e3ce03d..ff3b41c 100644
--- a/init.el
+++ b/init.el
@@ -162,6 +162,11 @@
(when (eq major-mode 'org-mode)
(org-show-context))))
+ (advice-add
+ 'org-eval-in-calendar :around
+ (lambda (f form &rest _) (funcall f form 'keepdate))
+ '((name . "always-keepdate")))
+
(bind-keys :map org-mode-map
("C-c l" . org-goto)
("C-c m" . km/org-prefix-map)