changeset 46518:c6ca69a1c8d3

(dabbrev--search): Use inhibit-point-motion-hooks.
author Richard M. Stallman <rms@gnu.org>
date Thu, 18 Jul 2002 15:00:01 +0000
parents a308cb6a79fd
children 6de9114ee49a
files lisp/dabbrev.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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