1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Make TAB work in makefile mode when transient mark mode is on

* lisp/progmodes/make-mode.el (makefile-mode): Insert a tab
instead of removing it (bug#37087).
This commit is contained in:
Lars Ingebrigtsen 2022-05-03 16:02:51 +02:00
parent 47fe7a5983
commit a4c96147d1

View 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 'indent-to-left-margin)
(setq-local indent-line-function #'insert-tab)
;; Real TABs are important in makefiles
(setq indent-tabs-mode t))