Revert "Honour existing restrictions when regenerating the agenda"

This reverts commit a0a26cddda.
This commit is contained in:
Bastien Guerry 2012-01-19 16:20:12 +01:00
parent 9b9f2d0d8d
commit 3a6c081367
1 changed files with 7 additions and 7 deletions

View File

@ -16498,13 +16498,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
(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)))
(save-restriction
(widen)
(setq bmp (buffer-modified-p))
(org-refresh-category-properties)