dired-toggle-read-only

dired-toggle-read-only is an interactive compiled Lisp function in `dired.el'.


(dired-toggle-read-only)

Edit Dired buffer with Wdired, or make it read-only.
If the current buffer can be edited with Wdired, (i.e. the major
mode is `dired-mode'), call `wdired-change-to-wdired-mode'.
Otherwise, toggle `read-only-mode'.