This is necessary to prepare the dictionary buffer for further processing
that also includes setting buffer-read-only to nil to be able to insert text.
(bug#69312)
(cherry picked from commit
23c984a7dea950e15b969fe5b7ca0395315f207a)
"Run a new matching search on WORD."
(dictionary-ensure-buffer)
(dictionary-store-positions)
+ (dictionary-pre-buffer)
(dictionary-do-matching word dictionary-default-dictionary
dictionary-default-strategy
'dictionary-display-match-result)