org: don't always refresh the agenda.

This commit is contained in:
Bastien Guerry 2011-07-28 17:25:29 +02:00
parent 3ab2c837b3
commit 58e9b49a90
2 changed files with 2 additions and 7 deletions

View file

@ -1,8 +1,3 @@
2011-07-28 Bastien Guerry <bzg@gnu.org>
* org-agenda.el (org-agenda-filter-by-tag): bugfix: always refresh
the agenda when needed.
2011-07-28 Bastien Guerry <bzg@gnu.org>
* org-publish.el (org-publish-index-generate-theindex): rename

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 (or maybe-refresh
(eq org-agenda-clockreport-mode 'with-filter))
(when (and maybe-refresh
(eq org-agenda-clockreport-mode 'with-filter))
(org-agenda-redo))))
(defun org-agenda-get-represented-tags ()