]> rtime.felk.cvut.cz Git - notmuch.git/commit
Set higher priority for headers and hidden citation overlays.
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Wed, 25 May 2011 22:10:15 +0000 (02:10 +0400)
committerCarl Worth <cworth@cworth.org>
Wed, 15 Jun 2011 14:07:32 +0000 (07:07 -0700)
commit4a9d0ac1472f7bd8b785256366720e3e6aa2855f
tree1dcb7cae6688c323065f0551cec4da32160d27ff
parent95ef8da29439f2e79115c36ab4d2a80aef1a1462
Set higher priority for headers and hidden citation overlays.

Before the patch, message, headers and hidden citation overlays
had zero priority.  All these overlay have `invisible' property.
Emacs documentation says that we should not make assumptions
about which overlay will prevail when they have the same priority
[1].  It happens to work as we need, but we should not rely on
undocumented behavior.

[1] http://www.gnu.org/s/emacs/manual/html_node/elisp/Overlay-Properties.html
emacs/notmuch-show.el
emacs/notmuch-wash.el