plantuml-mode
plantuml-mode copied to clipboard
Explicitly set buffer-file-coding of the preview buffer to no-conversion
In Emacs 29, If default buffer-file-coding is utf-8, and plantuml output type is "png", when doing "plantuml-preview-buffer", it will pop up error that it can't detect image type from the buffer.
This fixing is explicitly set the previous buffer's buffer-file-coding to "no-conversion" to avoid such issue.