From 1378e9f6e56fa93ff00f42eb180e269451bb8749 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Sun, 3 Mar 2024 18:58:47 +0200 Subject: [PATCH] * lisp/net/dictionary.el (dictionary-new-matching): Add dictionary-pre-buffer. 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) --- lisp/net/dictionary.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el index 730557599af..6690021aedc 100644 --- a/lisp/net/dictionary.el +++ b/lisp/net/dictionary.el @@ -1118,6 +1118,7 @@ If PATTERN is omitted, it defaults to \"[ \\f\\t\\n\\r\\v]+\"." "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) -- 2.39.5