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/ibuffer.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/ibuffer.el')
-rw-r--r-- | lisp/ibuffer.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 77461469044..b067c2b639b 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -1283,7 +1283,7 @@ With optional ARG, make read-only only if ARG is not negative." (:opstring "toggled read only status in" :interactive "P" :modifier-p t) - (call-interactively 'toggle-read-only)) + (read-only-mode 'toggle)) (define-ibuffer-op ibuffer-do-delete () "Kill marked buffers as with `kill-this-buffer'." |