Tweak comint docstring to suggest remap bindings
authorDaniel Colascione <dancol@dancol.org>
Sun, 2 Feb 2014 07:51:26 +0000 (23:51 -0800)
committerDaniel Colascione <dancol@dancol.org>
Sun, 2 Feb 2014 07:51:26 +0000 (23:51 -0800)
lisp/ChangeLog
lisp/comint.el

index 2657353..5b61862 100644 (file)
@@ -1,3 +1,7 @@
+2014-02-02  Daniel Colascione  <dancol@dancol.org>
+
+       * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
+
 2014-02-02  Glenn Morris  <rgm@gnu.org>
 
        * register.el (register-read-with-preview, point-to-register)
index 6e57fdc..7ca5809 100644 (file)
@@ -186,8 +186,8 @@ wish to put something like the following in your init file:
 
 \(add-hook 'comint-mode-hook
          (lambda ()
-           (define-key comint-mode-map \"\\C-w\" 'comint-kill-region)
-           (define-key comint-mode-map [C-S-backspace]
+           (define-key comint-mode-map [remap kill-region] 'comint-kill-region)
+           (define-key comint-mode-map [remap kill-whole-line]
              'comint-kill-whole-line)))
 
 If you sometimes use comint-mode on text-only terminals or with `emacs -nw',