sebastiencs / company-box

A company front-end with icons
565 stars 64 forks source link

Make `company-box' buffers read-only #145

Open nbfalcon opened 3 years ago

nbfalcon commented 3 years ago

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.

linwaytin commented 1 year ago

I just got the same issue here.