Commit 92be491c authored by Roland Winkler's avatar Roland Winkler
Browse files

(ibuffer-do-toggle-read-only): New optional arg as in

toggle-read-only.
parent 56741510
2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
* ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
toggle-read-only.
2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
 
* doc-view.el (doc-view-conversion-buffer): Give it an internal name.
......
......@@ -1257,11 +1257,13 @@ a new window in the current frame, splitting vertically."
:modifier-p t)
(set-buffer-modified-p (not (buffer-modified-p))))
(define-ibuffer-op ibuffer-do-toggle-read-only ()
"Toggle read only status in marked buffers."
(define-ibuffer-op ibuffer-do-toggle-read-only (&optional arg)
"Toggle read only status in marked buffers.
With ARG, set read-only iff arg is positive."
(:opstring "toggled read only status in"
:interactive "P"
:modifier-p t)
(toggle-read-only))
(toggle-read-only arg))
(define-ibuffer-op ibuffer-do-delete ()
"Kill marked buffers as with `kill-this-buffer'."
......
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