From 155133a2576f1c37d1026f2d45e89aa822826782 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 18 Jul 2002 15:00:01 +0000 Subject: [PATCH] (dabbrev--search): Use inhibit-point-motion-hooks. --- lisp/dabbrev.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index f2beb011247..9dba5d61ebe 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -972,6 +972,9 @@ Leaves point at the location of the start of the expansion." "\\(" dabbrev--abbrev-char-regexp "\\)")) (pattern2 (concat (regexp-quote abbrev) "\\(\\(" dabbrev--abbrev-char-regexp "\\)+\\)")) + ;; This makes it possible to find matches in minibuffer prompts + ;; even when they are "inviolable". + (inhibit-point-motion-hooks t) found-string result) ;; Limited search. (save-restriction -- 2.39.5