mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-16 00:40:06 +00:00
* lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
While tabs in code are mostly fine because the Emacs sources have a .dir-locals file specifying tab-width, the same is not true of tabs in code examples inside docstrings. The docstring is printed on a *Help* buffer, which can be created on any directory and won't necessarily have the same tab-width set.
This commit is contained in:
parent
cc419fb599
commit
4feb962198
1 changed files with 4 additions and 4 deletions
|
@ -185,10 +185,10 @@ the remaining prompts will be accidentally messed up. You may
|
||||||
wish to put something like the following in your init file:
|
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 [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]
|
(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',
|
||||||
you might wish to use another binding for `comint-kill-whole-line'."
|
you might wish to use another binding for `comint-kill-whole-line'."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue