emacs-diffs
[Top][All Lists]
Advanced

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

master 006fd29ca1: Revert "Make TAB work in makefile mode when transient


From: Lars Ingebrigtsen
Subject: master 006fd29ca1: Revert "Make TAB work in makefile mode when transient mark mode is on"
Date: Mon, 16 May 2022 08:26:26 -0400 (EDT)

branch: master
commit 006fd29ca181e7d136b24ff4ef6c9a1249ebd898
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Revert "Make TAB work in makefile mode when transient mark mode is on"
    
    This reverts commit a4c96147d1875d359db8d7fda3489954046a5db8.
    
    This change made hitting RET after an assignment insert a TAB character
    (bug#55446).
---
 lisp/progmodes/make-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 1a1dc3aee9..91307f6c09 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -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))



reply via email to

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