Mercurial > emacs
changeset 85379:3664514f5c60
(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.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Thu, 18 Oct 2007 00:08:08 +0000 |
parents | 5e06a33ec5a4 |
children | 3400b26060b4 |
files | lisp/indent.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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,