* lisp/international/quail.el (quail-input-method): Work not only
when buffer-read-only is nil but also when inhibit-read-only is non-nil
(bug#29504).
(defvar quail-conversion-str nil)
(defun quail-input-method (key)
- (if (or buffer-read-only
+ (if (or (and buffer-read-only
+ (not (or inhibit-read-only
+ (get-char-property (point) 'inhibit-read-only))))
(and overriding-terminal-local-map
;; If the overriding map is `universal-argument-map', that
;; must mean the user has pressed 'C-u KEY'. If KEY has a