diff options
| author | Bastien Guerry <bastien1@free.fr> | 2011-07-28 17:25:29 +0200 |
|---|---|---|
| committer | Bastien Guerry <bastien1@free.fr> | 2011-07-28 17:25:29 +0200 |
| commit | 58e9b49a90338bf979b86951b6d85e60308ecc3e (patch) | |
| tree | af8ffe5739a91c789db5285765ad0829b91b10f1 | |
| parent | 3ab2c837b302b01fff610f7b83050ab7e703477c (diff) | |
| download | emacs-58e9b49a90338bf979b86951b6d85e60308ecc3e.tar.gz | |
org: don't always refresh the agenda.
| -rw-r--r-- | lisp/org/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/org/org-agenda.el | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index a11db6f7b63..6af95d39ae2 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog @@ -1,10 +1,5 @@ 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 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 9502c2f2b6b..d47013b76f1 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 () |
