* 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.
This commit is contained in:
parent
acd97ed658
commit
1c9bd87017
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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).
|
||||
|
|
|
@ -6347,7 +6347,7 @@ Use \\<completion-list-mode-map>\\[mouse-choose-completion] to select one\
|
|||
"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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue