Unlike company's buffers, the buffers of company-box can be modified, which
can be annoying when they are selected accidentally (e.g. because the mouse
hovered over them).
Fix this by making all buffers created using company-box--get-buffer turn on
read-only-mode and inserting `(let ((inhibit-read-only)) ...)' where
necessary.
Unlike
company
's buffers, the buffers ofcompany-box
can be modified, which can be annoying when they are selected accidentally (e.g. because the mouse hovered over them).Fix this by making all buffers created using
company-box--get-buffer
turn onread-only-mode
and inserting `(let ((inhibit-read-only)) ...)' where necessary.