branch: externals/company
commit e22230561ef559b032b4a2d79bef686d494b8ea6
Author: Dmitry Gutov <dmi...@gutov.dev>
Commit: Dmitry Gutov <dmi...@gutov.dev>

    company-safe-pixel-substring: Bind inhibit-read-only just in case
    
    Seems like it fixes #1428
---
 company.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/company.el b/company.el
index 89f68fdf93..0b75547a19 100644
--- a/company.el
+++ b/company.el
@@ -2968,6 +2968,7 @@ from the candidates list.")
         front back
         (orig-buf (window-buffer))
         (bis buffer-invisibility-spec)
+        (inhibit-read-only t)
         window-configuration-change-hook)
     (with-current-buffer (get-buffer-create " *company-sps*")
       (unwind-protect

Reply via email to