emacs: Introduce generic boolean term escaping function
authorAustin Clements <amdragon@MIT.EDU>
Fri, 26 Oct 2012 20:18:10 +0000 (16:18 -0400)
committerDavid Bremner <bremner@debian.org>
Sat, 27 Oct 2012 12:33:55 +0000 (09:33 -0300)
commit1a4cb8fd29c52445fc3de70e92de377f00cdc4a7
tree3a2c42b9c3b122692212d9299daaff150f2a8ce4
parent05c87b5d18794290f4746218d1ea93c2990ba43d
emacs: Introduce generic boolean term escaping function

Currently, we only properly escape stashed id queries, but there are
other places where the Emacs UI constructs queries for boolean terms.
Since this escaping function is meant to be used in other places, it
avoids escaping strings that don't need escaping.
emacs/notmuch-lib.el
test/emacs