diff options
Diffstat (limited to 'lisp/comint.el')
-rw-r--r-- | lisp/comint.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 7db297a1427..b840a22bc84 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -184,11 +184,11 @@ narrowing in effect. This way you will be certain that none of the remaining prompts will be accidentally messed up. You may wish to put something like the following in your init file: -\(add-hook 'comint-mode-hook +\(add-hook \\='comint-mode-hook (lambda () - (define-key comint-mode-map [remap kill-region] 'comint-kill-region) + (define-key comint-mode-map [remap kill-region] \\='comint-kill-region) (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', you might wish to use another binding for `comint-kill-whole-line'." |