From 54d1b5cd62572dc35eaed6f07ab9d254313c8a58 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Thu, 6 Jul 2017 20:04:43 -0400 Subject: [PATCH] * lisp/indent.el (indent-region): Fail fast if read-only (Bug#22819). --- lisp/indent.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/indent.el b/lisp/indent.el index e7a30b885d..e9ed385faa 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -508,7 +508,7 @@ (defun indent-region (start end &optional column) Called from a program, START and END specify the region to indent. If the third argument COLUMN is an integer, it specifies the column to indent to; if it is nil, use one of the three methods above." - (interactive "r\nP") + (interactive "*r\nP") (cond ;; If a numeric prefix is given, indent to that column. (column -- 2.11.1