summaryrefslogtreecommitdiff
path: root/lisp/progmodes/make-mode.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-16 14:24:41 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-16 14:24:41 +0200
commit006fd29ca181e7d136b24ff4ef6c9a1249ebd898 (patch)
tree664e508c35aa7a5561d69c1ad46acf0f51b593af /lisp/progmodes/make-mode.el
parentbf22068aee96c449e1db0f8f7ac9ba04645e0b1c (diff)
downloademacs-006fd29ca181e7d136b24ff4ef6c9a1249ebd898.tar.gz
emacs-006fd29ca181e7d136b24ff4ef6c9a1249ebd898.tar.bz2
emacs-006fd29ca181e7d136b24ff4ef6c9a1249ebd898.zip
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).
Diffstat (limited to 'lisp/progmodes/make-mode.el')
-rw-r--r--lisp/progmodes/make-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 1a1dc3aee9a..91307f6c09f 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))