1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-26 07:33:39 +00:00

org-agenda: bugfix: always refresh the agenda when needed.

* org-agenda.el (org-agenda-filter-by-tag): bugfix: always
refresh the agenda when needed.

Thanks to Nicolas Dudebout for pointing this out.
This commit is contained in:
Bastien Guerry 2011-07-28 11:43:56 +02:00
parent f0d7acfb78
commit 1fa0f027cd

View File

@ -6202,8 +6202,8 @@ to switch to narrowing."
(org-agenda-filter-apply org-agenda-filter)
(setq maybe-refresh t))
(t (error "Invalid tag selection character %c" char)))
(when (and maybe-refresh
(eq org-agenda-clockreport-mode 'with-filter))
(when (or maybe-refresh
(eq org-agenda-clockreport-mode 'with-filter))
(org-agenda-redo))))
(defun org-agenda-get-represented-tags ()