diff options
| author | Lars Ingebrigtsen | 2020-09-08 12:34:42 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-09-08 12:34:42 +0200 |
| commit | 65565a16cfb16881c625f4431fd8d8f85a892ecc (patch) | |
| tree | 8b7a37c306938c04462c87dcc2456f2d1da8ed89 | |
| parent | 2630bbbcdf4a775d826c18c3209e7adb7a726ef6 (diff) | |
| download | emacs-65565a16cfb16881c625f4431fd8d8f85a892ecc.tar.gz emacs-65565a16cfb16881c625f4431fd8d8f85a892ecc.zip | |
Revert "Explain in the tab-always-indent doc how to make TAB insert a TAB"
This reverts commit 4b2371631167e509668b6268334e324fdd2f0327.
overriding-terminal-local-map should apparently not be used for minor stuff like this.
| -rw-r--r-- | lisp/indent.el | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lisp/indent.el b/lisp/indent.el index 9f32cedfa4a..0a0dd99ce08 100644 --- a/lisp/indent.el +++ b/lisp/indent.el | |||
| @@ -53,16 +53,7 @@ If `complete', TAB first tries to indent the current line, and if the line | |||
| 53 | was already indented, then try to complete the thing at point. | 53 | was already indented, then try to complete the thing at point. |
| 54 | 54 | ||
| 55 | Some programming language modes have their own variable to control this, | 55 | Some programming language modes have their own variable to control this, |
| 56 | e.g., `c-tab-always-indent', and do not respect this variable. | 56 | e.g., `c-tab-always-indent', and do not respect this variable." |
| 57 | |||
| 58 | If you want the TAB key to always insert a literal TAB character, | ||
| 59 | this can't be controlled by setting this variable. Instead you | ||
| 60 | could say something like: | ||
| 61 | |||
| 62 | \(setq overriding-terminal-local-map | ||
| 63 | (let ((map (make-sparse-keymap))) | ||
| 64 | (define-key map [?\t] 'self-insert-command) | ||
| 65 | map))" | ||
| 66 | :group 'indent | 57 | :group 'indent |
| 67 | :type '(choice | 58 | :type '(choice |
| 68 | (const :tag "Always indent" t) | 59 | (const :tag "Always indent" t) |