Commit 1c9bd870 authored by Glenn Morris's avatar Glenn Morris

* 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.
parent acd97ed6
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> 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
Make inlining of other-mode interpreted functions work (bug#11799). Make inlining of other-mode interpreted functions work (bug#11799).
......
...@@ -6347,7 +6347,7 @@ Use \\<completion-list-mode-map>\\[mouse-choose-completion] to select one\ ...@@ -6347,7 +6347,7 @@ Use \\<completion-list-mode-map>\\[mouse-choose-completion] to select one\
"Finish setup of the completions buffer. "Finish setup of the completions buffer.
Called from `temp-buffer-show-hook'." Called from `temp-buffer-show-hook'."
(when (eq major-mode 'completion-list-mode) (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) (add-hook 'temp-buffer-show-hook 'completion-list-mode-finish)
......
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