aboutsummaryrefslogtreecommitdiffhomepage
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2013-02-04 16:37:01 -0500
committerGravatar David Bremner <bremner@unb.ca>2013-03-25 11:35:22 -0400
commit3ddb4dc8065a86a1fbcd17c6a6e6f3721b4b6522 (patch)
treef99b88bdfa904da209002a6546c098f5b0116e42 /packaging
parent6a38b5db37da9d5ea618d194a1c0e9dce8f0de8a (diff)
emacs: Handle all face forms when combining faces
Previously, notmuch-combine-face-text-property assumed that any existing face properties of the modified text were already in face list form. This was true as long as it was the only function manipulating faces (since it always produced a list form face), but if anything else has manipulated the face, it was more likely to be either a face name or a face plist. It also didn't correctly handle face lists as arguments, even though the doc string claimed it did. This patch fixes notmuch-combine-face-text-property to handle all face forms correctly by canonicalizing both the argument face and the existing faces into list form. This also means we can set the face to a simpler non-list form if there's no existing face.
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions