summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2019-09-04 08:20:29 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2019-09-04 08:20:29 +0200
commit6413bc75a03a2f9fa9157285c89c7767fe32be40 (patch)
treefb43040419f923888d034ebcc31fa0e800bb2658
parent3cb33ac4fc273a32de142781bd18faaf7a63cb85 (diff)
downloadorg-mode-6413bc75a03a2f9fa9157285c89c7767fe32be40.tar.gz
Fix bug in tag filter
* lisp/org-agenda.el (org-agenda-filter-by-tag): Use the correct character to clearing the filter.
-rw-r--r--lisp/org-agenda.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index e718bc0..4be1328 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7753,7 +7753,7 @@ also press `-' or `+' to switch between filtering and excluding."
(unless char
(while (not (memq char valid-char-list))
(org-unlogged-message
- "%s by tag%s: [%s ]tag-char [TAB]tag %s[/]off [q]uit"
+ "%s by tag%s: [%s ]tag-char [TAB]tag %s[\\]off [q]uit"
(if exclude "Exclude[+]" "Filter[-]")
(if expand "" " (no grouptag expand)")
tag-chars
@@ -7780,7 +7780,7 @@ also press `-' or `+' to switch between filtering and excluding."
(push modifier org-agenda-tag-filter))))
(unless (null org-agenda-tag-filter)
(org-agenda-filter-apply org-agenda-tag-filter 'tag expand))))
- ((eq char ?/)
+ ((eq char ?\\)
(org-agenda-filter-show-all-tag)
(when (get 'org-agenda-tag-filter :preset-filter)
(org-agenda-filter-apply org-agenda-tag-filter 'tag expand)))