emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 65565a1: Revert "Explain in the tab-always-indent doc how to make


From: Lars Ingebrigtsen
Subject: master 65565a1: Revert "Explain in the tab-always-indent doc how to make TAB insert a TAB"
Date: Tue, 8 Sep 2020 06:35:52 -0400 (EDT)

branch: master
commit 65565a16cfb16881c625f4431fd8d8f85a892ecc
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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.
---
 lisp/indent.el | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/lisp/indent.el b/lisp/indent.el
index 9f32ced..0a0dd99 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
 was already indented, then try to complete the thing at point.
 
 Some programming language modes have their own variable to control this,
-e.g., `c-tab-always-indent', and do not respect this variable.
-
-If you want the TAB key to always insert a literal TAB character,
-this can't be controlled by setting this variable.  Instead you
-could say something like:
-
-\(setq overriding-terminal-local-map
-      (let ((map (make-sparse-keymap)))
-        (define-key map [?\t] 'self-insert-command)
-        map))"
+e.g., `c-tab-always-indent', and do not respect this variable."
   :group 'indent
   :type '(choice
          (const :tag "Always indent" t)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]