# HG changeset patch # User Richard M. Stallman # Date 1027004401 0 # Node ID c6ca69a1c8d3f42d584e20415b55dec8df6d6ef9 # Parent a308cb6a79fd5479bca1a249de47ae6b54337d20 (dabbrev--search): Use inhibit-point-motion-hooks. diff -r a308cb6a79fd -r c6ca69a1c8d3 lisp/dabbrev.el --- a/lisp/dabbrev.el Thu Jul 18 14:58:53 2002 +0000 +++ b/lisp/dabbrev.el Thu Jul 18 15:00:01 2002 +0000 @@ -972,6 +972,9 @@ "\\(" 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