From: Daniel Colascione Date: Sun, 2 Feb 2014 07:51:26 +0000 (-0800) Subject: Tweak comint docstring to suggest remap bindings X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~196 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f2b7d123786621dd83c9a5bf7b3745368bbc6d7e;p=emacs.git Tweak comint docstring to suggest remap bindings --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2657353dfe7..5b618621c49 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-02-02 Daniel Colascione + + * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding. + 2014-02-02 Glenn Morris * register.el (register-read-with-preview, point-to-register) diff --git a/lisp/comint.el b/lisp/comint.el index 6e57fdc1c45..7ca580978e4 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -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',