org-agenda.el: Allow `org-agenda-finalize-hook' to modify the buffer
commit6cc7ff10929a0a76e022442bd4f98fd6ab873be6
authorBastien Guerry <bzg@altern.org>
Tue, 18 Sep 2012 06:40:11 +0000 (18 08:40 +0200)
committerBastien Guerry <bzg@altern.org>
Tue, 18 Sep 2012 06:40:11 +0000 (18 08:40 +0200)
tree9ebabe159750c36c53c30cd29f85e33ee212c276
parenta67676809c042805dfeeb9d677d4dafc0df7c369
org-agenda.el: Allow `org-agenda-finalize-hook' to modify the buffer

* org-agenda.el (org-agenda-before-write-hook)
(org-agenda-add-entry-text-maxlines): Enhance phrasing.
(org-agenda-finalize-hook, org-agenda-mode-hook): Tell that
the buffer is writable when the hook is called.
(org-agenda-finalize): Allow org-agenda-finalize-hook to
modify the buffer.

Thanks to Moritz Ulrich and to Aaron Ecay for triggering this fix.
lisp/org-agenda.el