0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-26 02:02:53 +00:00

Merge branch 'maint'

This commit is contained in:
Bastien Guerry 2012-08-30 09:52:14 +02:00
commit c48f322b55

View file

@ -4929,6 +4929,7 @@ the documentation of `org-diary'."
(with-current-buffer buffer
(unless (derived-mode-p 'org-mode)
(error "Agenda file %s is not in `org-mode'" file))
(setq org-agenda-buffer (or org-agenda-buffer buffer))
(let ((case-fold-search nil))
(save-excursion
(save-restriction