# HG changeset patch # User Juri Linkov # Date 1192666088 0 # Node ID 3664514f5c60337421a1dbca25e2e3b32269a956 # Parent 5e06a33ec5a45d51a673859c48951db4fbf9b829 (indent-for-tab-command): Change interactive spec from "P" to "p". (indent-for-tab-command): Add check for interactive arg before indenting the active region. diff -r 5e06a33ec5a4 -r 3664514f5c60 lisp/indent.el --- a/lisp/indent.el Thu Oct 18 00:07:48 2007 +0000 +++ b/lisp/indent.el Thu Oct 18 00:08:08 2007 +0000 @@ -86,10 +86,10 @@ indent the region. The function actually called to indent the line is determined by the value of `indent-line-function'." - (interactive "P") + (interactive "p") (cond ;; The region is active, indent it. - ((and transient-mark-mode mark-active + ((and arg transient-mark-mode mark-active (not (eq (region-beginning) (region-end)))) (indent-region (region-beginning) (region-end))) ((or ;; indent-to-left-margin is only meant for indenting,