`auto-composed' property instead of put nil to it.
(toggle-auto-composition): Likewise.
end (1+ end))
(setq func2 nil))))
(if (< start end)
- (put-text-property start end 'auto-composed nil))))))
+ (remove-text-properties start end '(auto-composed nil)))))))
(defun turn-on-auto-composition-if-enabled ()
(if enable-multibyte-characters
(save-buffer-state nil
(save-restriction
(widen)
- (put-text-property (point-min) (point-max) 'auto-composed nil)))))
+ (remove-text-properties (point-min) (point-max)
+ '(auto-composed nil))))))
(defun auto-compose-region (from to)
"Force automatic character composition on the region FROM and TO."