1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-02 05:32:08 -08:00

Make indent-tabs-mode into a regular mode instead of just a variable

* lisp/simple.el (indent-tabs-mode): Make into a minor mode (bug#6276).
This commit is contained in:
Lars Ingebrigtsen 2021-07-18 15:24:55 +02:00
parent d2f9295a1f
commit c112f73668
2 changed files with 7 additions and 0 deletions

View file

@ -2222,6 +2222,9 @@ This command, called interactively, toggles the local value of
** Miscellaneous
---
*** 'indent-tabs-mode' is now a global minor mode instead of just a variable.
---
*** New user option 'save-place-abbreviate-file-names'.

View file

@ -6682,6 +6682,10 @@ or \"mark.*active\" at the prompt."
;; It's defined in C/cus-start, this stops the d-m-m macro defining it again.
:variable (default-value 'transient-mark-mode))
(define-minor-mode indent-tabs-mode
"Toggle whether indentation can insert TAB characters."
:global t :group 'indent :variable indent-tabs-mode)
(defvar widen-automatically t
"Non-nil means it is ok for commands to call `widen' when they want to.
Some commands will do this in order to go to positions outside