[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c112f73: Make indent-tabs-mode into a regular mode instead of jus
From: |
Lars Ingebrigtsen |
Subject: |
master c112f73: Make indent-tabs-mode into a regular mode instead of just a variable |
Date: |
Sun, 18 Jul 2021 09:25:03 -0400 (EDT) |
branch: master
commit c112f73668f201e8799d265e05874007fec78ca1
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
etc/NEWS | 3 +++
lisp/simple.el | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/etc/NEWS b/etc/NEWS
index f547e25..6e2d5cc 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2223,6 +2223,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'.
---
diff --git a/lisp/simple.el b/lisp/simple.el
index 322693f..6de2190 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c112f73: Make indent-tabs-mode into a regular mode instead of just a variable,
Lars Ingebrigtsen <=