From: Juri Linkov Date: Thu, 18 Oct 2007 00:08:08 +0000 (+0000) Subject: (indent-for-tab-command): Change interactive spec from "P" to "p". X-Git-Tag: emacs-pretest-23.0.90~10268 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc3214eda6c4c4e9fb64fd75a4d492f500367490;p=emacs.git (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 --git a/lisp/indent.el b/lisp/indent.el index db8958bd1ca..77354444cfa 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -86,10 +86,10 @@ If `transient-mark-mode' is turned on the region is active, 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,