minibuffer_message_state: correct 'destroy' method
commit0098971fd8b6ba72cfcb85bf58d73aab467ca36c
authorJohn Foerch <jjfoerch@earthlink.net>
Thu, 20 May 2010 20:13:24 +0000 (20 16:13 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Thu, 20 May 2010 20:13:24 +0000 (20 16:13 -0400)
tree129df669e9e1012af3c0754c30a84d1bce2a069d
parent1c6d120919fb9b3d97e3ea7df3d52bb4e8c99dc2
minibuffer_message_state: correct 'destroy' method

instead of allowing the caller to set this object's destroy method, just
let the caller pass in a cleanup function, and have a normal destroy
method, which will call the cleanup function, thereby ensure that the
destroy method of minibuffer_message_state's parent class always gets
called correctly.
modules/minibuffer.js