emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 23c984a7dea: * lisp/net/dictionary.el (dictionary-new-matching):


From: Juri Linkov
Subject: master 23c984a7dea: * lisp/net/dictionary.el (dictionary-new-matching): Add dictionary-pre-buffer.
Date: Sun, 3 Mar 2024 12:00:10 -0500 (EST)

branch: master
commit 23c984a7dea950e15b969fe5b7ca0395315f207a
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * 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)
---
 lisp/net/dictionary.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el
index e8ac9b679a0..e9e6b1292b5 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]