plantuml-mode icon indicating copy to clipboard operation
plantuml-mode copied to clipboard

Explicitly set buffer-file-coding of the preview buffer to no-conversion

Open leuven65 opened this issue 2 years ago • 0 comments

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.

leuven65 avatar Oct 24 '22 08:10 leuven65