[Top][All Lists]

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

[PATCH] erc.el: Change C-x C-q to C-c C-x

From: Jari Aalto
Subject: [PATCH] erc.el: Change C-x C-q to C-c C-x
Date: Thu, 31 Jan 2008 18:48:14 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (windows-nt)

The rcirc.el whish is the default M-x irc in Emacs uses C-c C-x for
quit, which i think is quite logical (cf. C-x C-c for Emacs quit).

To unify the ERC with rcirc, it might be good idea to use same

2008-01-31  Jari Aalto  <jari.aalto AT cante.net>

        * erc.el (erc-mode-map): Change `erc-quit-server' from
        C-x C-q to C-c C-x to make the quit key uniform with

 erc/erc.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/erc/erc.el b/erc/erc.el
index 686a60a..2f2199d 100644
--- a/erc/erc.el
+++ b/erc/erc.el
@@ -1106,7 +1106,7 @@ which the local user typed."
     (define-key map "\C-c\C-n" 'erc-channel-names)
     (define-key map "\C-c\C-o" 'erc-get-channel-mode-from-keypress)
     (define-key map "\C-c\C-p" 'erc-part-from-channel)
-    (define-key map "\C-c\C-q" 'erc-quit-server)
+    (define-key map "\C-c\C-x" 'erc-quit-server)
     (define-key map "\C-c\C-r" 'erc-remove-text-properties-region)
     (define-key map "\C-c\C-t" 'erc-set-topic)
     (define-key map "\C-c\C-u" 'erc-kill-input)

reply via email to

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