Commit c85ccd3c authored by Takafumi Arakaki's avatar Takafumi Arakaki

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
parent da210f54
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment