Commit 51c4474e authored by Juri Linkov's avatar Juri Linkov

* lisp/dired.el (dired-mode-map): Add [remap read-only-mode] for

`dired-toggle-read-only'.

Fixes: debbugs:12462
parent d41e491e
2012-09-22 Juri Linkov <juri@jurta.org>
* dired.el (dired-mode-map): Add [remap read-only-mode] for
`dired-toggle-read-only'. (Bug#12462)
2012-09-22 Martin Rudalics <rudalics@gmx.at>
* subr.el (temp-output-buffer-show): New function.
......
......@@ -1493,6 +1493,8 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST."
(define-key map (kbd "M-s f C-s") 'dired-isearch-filenames)
(define-key map (kbd "M-s f M-C-s") 'dired-isearch-filenames-regexp)
;; misc
(define-key map [remap read-only-mode] 'dired-toggle-read-only)
;; `toggle-read-only' is an obsolete alias for `read-only-mode'
(define-key map [remap toggle-read-only] 'dired-toggle-read-only)
(define-key map "?" 'dired-summary)
(define-key map "\177" 'dired-unmark-backward)
......
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