Since completion-list-mode has a special mode-class, it wasn't doing
anything extra anyway.
+2012-06-28 Glenn Morris <rgm@gnu.org>
+
+ * simple.el (completion-list-mode-finish):
+ Don't use toggle-read-only. (Since completion-list-mode has
+ a special mode-class, it wasn't doing anything extra anyway.)
+
2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
Make inlining of other-mode interpreted functions work (bug#11799).
"Finish setup of the completions buffer.
Called from `temp-buffer-show-hook'."
(when (eq major-mode 'completion-list-mode)
- (toggle-read-only 1)))
+ (setq buffer-read-only t)))
(add-hook 'temp-buffer-show-hook 'completion-list-mode-finish)