1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

(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.
This commit is contained in:
Juri Linkov 2007-10-18 00:08:08 +00:00
parent 69f5930ae5
commit bc3214eda6

View file

@ -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,