Revert "Honour existing restrictions when regenerating the agenda"

This reverts commit 9b250f8e09.
This commit is contained in:
Carsten Dominik 2011-12-31 15:23:54 +01:00
parent 21e99fedc4
commit 23bdbffb4c
1 changed files with 7 additions and 7 deletions

View File

@ -16432,13 +16432,13 @@ When a buffer is unmodified, it is just killed. When modified, it is saved
(rea (concat ":" org-archive-tag ":"))
bmp file re)
(save-excursion
(while (setq file (pop files))
(catch 'nextfile
(if (bufferp file)
(set-buffer file)
(org-check-agenda-file file)
(set-buffer (org-get-agenda-file-buffer file)))
(save-restriction
(save-restriction
(while (setq file (pop files))
(catch 'nextfile
(if (bufferp file)
(set-buffer file)
(org-check-agenda-file file)
(set-buffer (org-get-agenda-file-buffer file)))
(widen)
(setq bmp (buffer-modified-p))
(org-refresh-category-properties)