aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Malabarba2016-02-07 08:35:49 +0000
committerArtur Malabarba2016-02-07 08:40:17 +0000
commit4feb9621980f9534e920a8438e5776e98eefb752 (patch)
treecf76e37bf5c16f5a78101d5cb396d9978a440942
parentcc419fb599ac4d74ffc00e5c4c26e75009ac4911 (diff)
downloademacs-4feb9621980f9534e920a8438e5776e98eefb752.tar.gz
emacs-4feb9621980f9534e920a8438e5776e98eefb752.zip
* 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.
-rw-r--r--lisp/comint.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index afbaef1baf2..dcd4a5ae4cf 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -185,10 +185,10 @@ the remaining prompts will be accidentally messed up. You may
185wish to put something like the following in your init file: 185wish to put something like the following in your init file:
186 186
187\(add-hook \\='comint-mode-hook 187\(add-hook \\='comint-mode-hook
188 (lambda () 188 (lambda ()
189 (define-key comint-mode-map [remap kill-region] \\='comint-kill-region) 189 (define-key comint-mode-map [remap kill-region] \\='comint-kill-region)
190 (define-key comint-mode-map [remap kill-whole-line] 190 (define-key comint-mode-map [remap kill-whole-line]
191 \\='comint-kill-whole-line))) 191 \\='comint-kill-whole-line)))
192 192
193If you sometimes use comint-mode on text-only terminals or with `emacs -nw', 193If you sometimes use comint-mode on text-only terminals or with `emacs -nw',
194you might wish to use another binding for `comint-kill-whole-line'." 194you might wish to use another binding for `comint-kill-whole-line'."