diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-03 16:02:51 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-03 16:02:51 +0200 |
commit | a4c96147d1875d359db8d7fda3489954046a5db8 (patch) | |
tree | 9360eb684dba8e07a92d5e3159455590ad5b619b /lisp/progmodes/make-mode.el | |
parent | 47fe7a5983a97c3e806e90340f3cd6ab3f0c49b2 (diff) | |
download | emacs-a4c96147d1875d359db8d7fda3489954046a5db8.tar.gz emacs-a4c96147d1875d359db8d7fda3489954046a5db8.tar.bz2 emacs-a4c96147d1875d359db8d7fda3489954046a5db8.zip |
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).
Diffstat (limited to 'lisp/progmodes/make-mode.el')
-rw-r--r-- | lisp/progmodes/make-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 91307f6c09f..1a1dc3aee9a 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 'indent-to-left-margin) + (setq-local indent-line-function #'insert-tab) ;; Real TABs are important in makefiles (setq indent-tabs-mode t)) |