Commit 52f83af1 authored by Evgeny Zajcev's avatar Evgeny Zajcev Committed by Eli Zaretskii

Fix input method operation on read-only text

* lisp/international/quail.el (quail-input-method): Check also
read-only property of text in addition to the buffer's
read-only state.
parent 40eb4c51
Pipeline #3071 failed with stage
in 90 minutes and 2 seconds
......@@ -1329,7 +1329,8 @@ If STR has `advice' text property, append the following special event:
(defvar quail-conversion-str nil)
(defun quail-input-method (key)
(if (or (and buffer-read-only
(if (or (and (or buffer-read-only
(get-char-property (point) 'read-only))
(not (or inhibit-read-only
(get-char-property (point) 'inhibit-read-only))))
(and overriding-terminal-local-map
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment