1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-02 03:40:36 -08:00

* files.el (ctl-x-map): Bind C-x C-q to read-only-mode.

Fixes: debbugs:12462
This commit is contained in:
Chong Yidong 2012-09-22 23:44:43 +08:00
parent c88b867fec
commit 3df47cd5f6
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2012-09-22 Chong Yidong <cyd@gnu.org>
* files.el (ctl-x-map): Bind C-x C-q to read-only-mode
(Bug#12462).
* repeat.el (repeat): Doc fix (Bug#12348).
* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix

View file

@ -6714,7 +6714,7 @@ Otherwise, trash FILENAME using the freedesktop.org conventions,
(define-key esc-map "~" 'not-modified)
(define-key ctl-x-map "\C-d" 'list-directory)
(define-key ctl-x-map "\C-c" 'save-buffers-kill-terminal)
(define-key ctl-x-map "\C-q" 'toggle-read-only)
(define-key ctl-x-map "\C-q" 'read-only-mode)
(define-key ctl-x-4-map "f" 'find-file-other-window)
(define-key ctl-x-4-map "r" 'find-file-read-only-other-window)