Browse Source

Fix bug in tag filter

* lisp/org-agenda.el (org-agenda-filter-by-tag): Use the correct
character to clearing the filter.
Carsten Dominik 10 months ago
parent
commit
6413bc75a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lisp/org-agenda.el

+ 2 - 2
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)))