diff options
| author | Chong Yidong | 2012-09-22 23:44:43 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-09-22 23:44:43 +0800 |
| commit | 3df47cd5f62a0d8ddc12581f3ef32bfff16b6bbf (patch) | |
| tree | 489572d2711d4b5af083b41811584814cb8f1788 | |
| parent | c88b867fecbd50140b0b41f05599811a8f0e3dfe (diff) | |
| download | emacs-3df47cd5f62a0d8ddc12581f3ef32bfff16b6bbf.tar.gz emacs-3df47cd5f62a0d8ddc12581f3ef32bfff16b6bbf.zip | |
* files.el (ctl-x-map): Bind C-x C-q to read-only-mode.
Fixes: debbugs:12462
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/files.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 813abd506d4..973d920c373 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-09-22 Chong Yidong <cyd@gnu.org> | 1 | 2012-09-22 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * files.el (ctl-x-map): Bind C-x C-q to read-only-mode | ||
| 4 | (Bug#12462). | ||
| 5 | |||
| 3 | * repeat.el (repeat): Doc fix (Bug#12348). | 6 | * repeat.el (repeat): Doc fix (Bug#12348). |
| 4 | 7 | ||
| 5 | * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix | 8 | * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix |
diff --git a/lisp/files.el b/lisp/files.el index 289f5c6b0b6..66c526266e6 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -6714,7 +6714,7 @@ Otherwise, trash FILENAME using the freedesktop.org conventions, | |||
| 6714 | (define-key esc-map "~" 'not-modified) | 6714 | (define-key esc-map "~" 'not-modified) |
| 6715 | (define-key ctl-x-map "\C-d" 'list-directory) | 6715 | (define-key ctl-x-map "\C-d" 'list-directory) |
| 6716 | (define-key ctl-x-map "\C-c" 'save-buffers-kill-terminal) | 6716 | (define-key ctl-x-map "\C-c" 'save-buffers-kill-terminal) |
| 6717 | (define-key ctl-x-map "\C-q" 'toggle-read-only) | 6717 | (define-key ctl-x-map "\C-q" 'read-only-mode) |
| 6718 | 6718 | ||
| 6719 | (define-key ctl-x-4-map "f" 'find-file-other-window) | 6719 | (define-key ctl-x-4-map "f" 'find-file-other-window) |
| 6720 | (define-key ctl-x-4-map "r" 'find-file-read-only-other-window) | 6720 | (define-key ctl-x-4-map "r" 'find-file-read-only-other-window) |