I'd like to always display one particular text file named "table.txt" in a monospaced font, while displaying all the other buffers in a variable-width font. How can I achieve this?
Edit: the suggested link doesn't have the code block solution in the answer below, and the code block seems to work best for this purpose (always displaying a particular buffer in some face), so I don't think this counts as a duplicate?