diff options
author | Chong Yidong <cyd@gnu.org> | 2012-09-23 18:21:34 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-09-23 18:21:34 +0800 |
commit | 9a93067632c0fc183ad5fb4ef44edc4ea8373716 (patch) | |
tree | 1b4e2edf6475276dde245345394beb51f2098a07 /lisp/buff-menu.el | |
parent | a0942b9a361abdd267a4c6cf2a0edc2a29741db4 (diff) | |
download | emacs-9a93067632c0fc183ad5fb4ef44edc4ea8373716.tar.gz |
Convert toggle-read-only calls to read-only-mode.
* bindings.el (mode-line-toggle-read-only):
* bs.el (bs-toggle-readonly):
* buff-menu.el (Buffer-menu-toggle-read-only):
* dired.el (dired-toggle-read-only):
* ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
Diffstat (limited to 'lisp/buff-menu.el')
-rw-r--r-- | lisp/buff-menu.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index 589b6ebc47a..1823b07917d 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el @@ -520,7 +520,7 @@ This behaves like invoking \\[toggle-read-only] in that buffer." (interactive) (let ((read-only (with-current-buffer (Buffer-menu-buffer t) - (call-interactively 'toggle-read-only) + (read-only-mode 'toggle) buffer-read-only))) (tabulated-list-set-col 1 (if read-only "%" " ") t))) |