summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-10-06 20:12:35 -0700
committerSean Whitton <spwhitton@spwhitton.name>2015-10-06 20:13:51 -0700
commit6e295b0a7f2b43b987ceac08ff206f3bfc7f5bfe (patch)
treed374a9e88f607a1800c547ef85a47ad88504898f
parente1666233c9b0abfde2536b390af44960111c1836 (diff)
downloaddotfiles-6e295b0a7f2b43b987ceac08ff206f3bfc7f5bfe.tar.gz
easily jump to all my Org files from agenda
-rw-r--r--.emacs.d/init-org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/init-org.el b/.emacs.d/init-org.el
index f0f38955..a8105782 100644
--- a/.emacs.d/init-org.el
+++ b/.emacs.d/init-org.el
@@ -300,9 +300,9 @@ spaces in it and to remove any colons."
;;;; ---- agenda and refile ----
-(defadvice org-agenda (before persp-org-agenda disable)
+(defadvice org-agenda (before persp-org-agenda activate)
"Switch perspective project before compiling the agenda."
- (projectile-persp-switch-project "~/doc"))
+ (projectile-switch-project-by-name "~/doc"))
(setq org-agenda-custom-commands
'(("a" "Primary agenda view"