emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r110142: * files.el (ctl-x-map): Bind


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110142: * files.el (ctl-x-map): Bind C-x C-q to read-only-mode.
Date: Sat, 22 Sep 2012 23:44:43 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110142
fixes bug: http://debbugs.gnu.org/12462
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sat 2012-09-22 23:44:43 +0800
message:
  * files.el (ctl-x-map): Bind C-x C-q to read-only-mode.
modified:
  lisp/ChangeLog
  lisp/files.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-09-22 15:24:26 +0000
+++ b/lisp/ChangeLog    2012-09-22 15:44:43 +0000
@@ -1,5 +1,8 @@
 2012-09-22  Chong Yidong  <address@hidden>
 
+       * 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

=== modified file 'lisp/files.el'
--- a/lisp/files.el     2012-09-16 15:57:28 +0000
+++ b/lisp/files.el     2012-09-22 15:44:43 +0000
@@ -6714,7 +6714,7 @@
 (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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]