branch: elpa/popup
commit c85ccd3c8a4e88059e87bd07c9965b6de3e4e877
Author: Takafumi Arakaki <aka....@gmail.com>
Commit: Takafumi Arakaki <aka....@gmail.com>

    Use inhibit-read-only instead of buffer-read-only
    
    This will fix the problem with EIN: tkf/emacs-ipython-notebook#42
    See also the discussions in m2ym/auto-complete#115
---
 popup.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/popup.el b/popup.el
index 8062cfd..34d3ad8 100644
--- a/popup.el
+++ b/popup.el
@@ -132,7 +132,7 @@ untouched."
   (declare (indent 0))
   `(save-excursion
      (let ((buffer-undo-list t)
-           (buffer-read-only nil)
+           (inhibit-read-only t)
            (modified (buffer-modified-p)))
        (unwind-protect
            (progn ,@body)

Reply via email to