From ea12b29e7ebced7e5fa4d460675aa434886c7a7d Mon Sep 17 00:00:00 2001 From: Eric Danan Date: Sat, 25 Aug 2018 17:04:27 +0200 Subject: [PATCH] cp-org-agenda: Don't shadow dynamic var org-keys --- counsel-projectile.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/counsel-projectile.el b/counsel-projectile.el index 8693a34..88d8c26 100644 --- a/counsel-projectile.el +++ b/counsel-projectile.el @@ -1007,13 +1007,13 @@ capture." (defvar org-agenda-files) ;;;###autoload -(defun counsel-projectile-org-agenda (&optional arg org-keys restriction) +(defun counsel-projectile-org-agenda (&optional arg keys restriction) "Open project agenda. This command simply calls `org-agenda' after filtering out all agenda files that do not belong to the current project. -Optional arguments ARG, ORG-KEYS, and RESTRICTION are as in +Optional arguments ARG, KEYS, and RESTRICTION are as in `org-agenda'." (interactive "P") (require 'org-agenda) @@ -1022,7 +1022,7 @@ Optional arguments ARG, ORG-KEYS, and RESTRICTION are as in (cl-remove-if-not (lambda (file) (string-prefix-p root file)) (org-agenda-files t 'ifmode)))) - (org-agenda arg org-keys restriction))) + (org-agenda arg keys restriction))) ;;* counsel-projectile-switch-project