Commit f2b7d123 authored by Daniel Colascione's avatar Daniel Colascione
Browse files

Tweak comint docstring to suggest remap bindings

parent 4472a196
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> 2014-02-02 Glenn Morris <rgm@gnu.org>
* register.el (register-read-with-preview, point-to-register) * register.el (register-read-with-preview, point-to-register)
......
...@@ -186,8 +186,8 @@ wish to put something like the following in your init file: ...@@ -186,8 +186,8 @@ wish to put something like the following in your init file:
\(add-hook 'comint-mode-hook \(add-hook 'comint-mode-hook
(lambda () (lambda ()
(define-key comint-mode-map \"\\C-w\" 'comint-kill-region) (define-key comint-mode-map [remap kill-region] 'comint-kill-region)
(define-key comint-mode-map [C-S-backspace] (define-key comint-mode-map [remap kill-whole-line]
'comint-kill-whole-line))) 'comint-kill-whole-line)))
If you sometimes use comint-mode on text-only terminals or with `emacs -nw', If you sometimes use comint-mode on text-only terminals or with `emacs -nw',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment