From b6f177b68a6bf82a21e18e63dd4843fdc31af0e0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 7 Aug 2025 16:12:37 +0300 Subject: [PATCH] ; * lisp/indent-aux.el: Add a comment (bug#79176). --- lisp/indent-aux.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/indent-aux.el b/lisp/indent-aux.el index 4a05136ac1a..47d21f86649 100644 --- a/lisp/indent-aux.el +++ b/lisp/indent-aux.el @@ -50,6 +50,8 @@ is yanked." (delete-and-extract-region beg end) (buffer-substring beg end)))) (with-temp-buffer + ;; We bind inhibit-read-only non-nil in case the copied text has + ;; read-only properties. (let ((inhibit-read-only t)) ;; Indent/deindent the same as the major mode in the original ;; buffer.