summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien <bzg@gnu.org>2020-01-29 21:48:58 +0100
committerBastien <bzg@gnu.org>2020-01-29 21:48:58 +0100
commit2820c2c4aa4c17e9b0ca710555b6c6ae179ec079 (patch)
treec97f1513543e74c2d8cca660d486ad92a1cefce8
parentc2aebcee273b23185bb0263013e2ea9f683b6032 (diff)
downloadorg-mode-2820c2c4aa4c17e9b0ca710555b6c6ae179ec079.tar.gz
org-agenda.el: Minor fixes
* lisp/org-agenda.el (org-agenda-filter): Tiny formatting fix. (org-agenda-filter-completion-function): Fix docstring typo.
-rw-r--r--lisp/org-agenda.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 61a2e79..2313bd3 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7711,11 +7711,10 @@ the variable `org-agenda-auto-exclude-function'."
(and fe (org-agenda-filter-apply
(setq org-agenda-effort-filter fe) 'effort))
(and fr (org-agenda-filter-apply
- (setq org-agenda-regexp-filter fr) 'regexp))
- )))
+ (setq org-agenda-regexp-filter fr) 'regexp)))))
(defun org-agenda-filter-completion-function (string _predicate &optional flag)
- "Complete a complex filter string
+ "Complete a complex filter string.
FLAG specifies the type of completion operation to perform. This
function is passed as a collection function to `completing-read',
which see."