aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/indent.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/indent.el b/lisp/indent.el
index f942847ec64..f962cf4686f 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -93,8 +93,7 @@ The function actually called to indent the line is determined by the value of
93 (interactive "P") 93 (interactive "P")
94 (cond 94 (cond
95 ;; The region is active, indent it. 95 ;; The region is active, indent it.
96 ((and transient-mark-mode mark-active 96 ((use-region-p)
97 (not (eq (region-beginning) (region-end))))
98 (indent-region (region-beginning) (region-end))) 97 (indent-region (region-beginning) (region-end)))
99 ((or ;; indent-to-left-margin is only meant for indenting, 98 ((or ;; indent-to-left-margin is only meant for indenting,
100 ;; so we force it to always insert a tab here. 99 ;; so we force it to always insert a tab here.