]> git.eshelyaron.com Git - emacs.git/commitdiff
(dabbrev--search): Use inhibit-point-motion-hooks.
authorRichard M. Stallman <rms@gnu.org>
Thu, 18 Jul 2002 15:00:01 +0000 (15:00 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 18 Jul 2002 15:00:01 +0000 (15:00 +0000)
lisp/dabbrev.el

index f2beb01124735f5e4b9c52285fc4670f76056037..9dba5d61ebed7385ecf95588d5fd0a40076c2952 100644 (file)
@@ -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