aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Guerry <[email protected]>2011-07-28 17:25:29 +0200
committerBastien Guerry <[email protected]>2011-07-28 17:25:29 +0200
commit58e9b49a90338bf979b86951b6d85e60308ecc3e (patch)
treeaf8ffe5739a91c789db5285765ad0829b91b10f1
parent3ab2c837b302b01fff610f7b83050ab7e703477c (diff)
org: don't always refresh the agenda.
-rw-r--r--lisp/org/ChangeLog5
-rw-r--r--lisp/org/org-agenda.el4
2 files changed, 2 insertions, 7 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index a11db6f7b6..6af95d39ae 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,10 +1,5 @@
2011-07-28 Bastien Guerry <[email protected]>
- * org-agenda.el (org-agenda-filter-by-tag): bugfix: always refresh
- the agenda when needed.
-
-2011-07-28 Bastien Guerry <[email protected]>
-
* org-publish.el (org-publish-index-generate-theindex): rename
from `org-publish-index-generate-theindex.inc'. Use the file
theindex.org directly instead of including theindex.inc.
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el
index 9502c2f2b6..d47013b76f 100644
--- a/lisp/org/org-agenda.el
+++ b/lisp/org/org-agenda.el
@@ -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 ()