summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-org.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 4266d6d..02bfa65 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -34,6 +34,9 @@
"* %?\n%x")))
(key-chord-define-global ",t" 'org-capture)
+(defadvice org-open-file (after km/org-open-add-to-recentf activate)
+ (recentf-add-file path))
+
(defun km/open-main-orgfile ()
(interactive)
(find-file org-default-notes-file))