From: Juri Linkov Date: Sun, 3 Mar 2024 16:58:47 +0000 (+0200) Subject: * lisp/net/dictionary.el (dictionary-new-matching): Add dictionary-pre-buffer. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1378e9f6e56fa93ff00f42eb180e269451bb8749;p=emacs.git * 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) --- 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)