diff options
author | Glenn Morris <rgm@gnu.org> | 2012-06-28 00:21:41 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-06-28 00:21:41 -0700 |
commit | 1c9bd87017e4b5f7f56e734277ff6e0a0ebb51d6 (patch) | |
tree | fab46d9651af74b49b995eff4eca82f5e696ae62 /lisp/simple.el | |
parent | acd97ed658e1540d33d3f0179a66023661e30e4d (diff) | |
download | emacs-1c9bd87017e4b5f7f56e734277ff6e0a0ebb51d6.tar.gz emacs-1c9bd87017e4b5f7f56e734277ff6e0a0ebb51d6.tar.bz2 emacs-1c9bd87017e4b5f7f56e734277ff6e0a0ebb51d6.zip |
* 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.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r-- | lisp/simple.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 5d56a64eb23..1b347794521 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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) |