]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Make TAB work in makefile mode when transient mark mode is on"
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 16 May 2022 12:24:41 +0000 (14:24 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 16 May 2022 12:24:41 +0000 (14:24 +0200)
This reverts commit a4c96147d1875d359db8d7fda3489954046a5db8.

This change made hitting RET after an assignment insert a TAB character
(bug#55446).

lisp/progmodes/make-mode.el

index 1a1dc3aee9aa637b4c00c6bcacd0a3a3abff8bbb..91307f6c09f8dbe8902fde0e85d169c929a79752 100644 (file)
@@ -889,7 +889,7 @@ Makefile mode can be configured by modifying the following variables:
   (setq-local comment-start-skip "#+[ \t]*")
 
   ;; Make sure TAB really inserts \t.
-  (setq-local indent-line-function #'insert-tab)
+  (setq-local indent-line-function 'indent-to-left-margin)
 
   ;; Real TABs are important in makefiles
   (setq indent-tabs-mode t))