]> rtime.felk.cvut.cz Git - notmuch.git/commit
emacs: ad-activate 'mm-shr after ad-disable-advice 'mm-shr
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 27 Jan 2014 20:32:12 +0000 (22:32 +0200)
committerDavid Bremner <david@tethera.net>
Thu, 30 Jan 2014 16:21:25 +0000 (12:21 -0400)
commit9ac863c549e8022dc06d73e07d79a74ec7f0569f
treedce8383b91254c364644f9c4c9713dc4d00be704
parent3e1d7f6476f94d9912e395872317606fb702f210
emacs: ad-activate 'mm-shr after ad-disable-advice 'mm-shr

Imitated from "Enabling advice" in Emacs lisp manual...

ad-disable-advice by itself only changes the enable flag for a
piece of advice. To make the change take effect in the
advised definition, the advice needs to be activated again.
emacs/notmuch-lib.el