I found an opportunity to simplify the code for text-quoting-style. See the attached patch. The patch also improves the name of the defun `get-quoting-style' by changing it to `text-quoting-style'. (This new name matches the old C function name and the existing variable name.) Any comments?