]> git.eshelyaron.com Git - emacs.git/commitdiff
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 2657353dfe7034bc109d1ae5030d85e7cc530e52..5b618621c493a5322852391574e788afe5a64f1b 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 6e57fdc1c45ebfcfcd6f2c567f6fe23e0d34dfa3..7ca580978e42dc0047427df9f9009a8a15ea6076 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',