]> git.eshelyaron.com Git - emacs.git/commitdiff
(dabbrev--goto-start-of-abbrev):
authorRichard M. Stallman <rms@gnu.org>
Sun, 3 Feb 2002 10:26:49 +0000 (10:26 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 3 Feb 2002 10:26:49 +0000 (10:26 +0000)
Exit loop on beginning of field rather than bobp.

lisp/dabbrev.el

index b085856570345616c3daf586e10889f031b07993..92191a926c3dcd196aec95669e03095651fadfd6 100644 (file)
@@ -599,7 +599,7 @@ See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]."
        (progn
          (forward-char -1)
          (while (and (looking-at dabbrev--abbrev-char-regexp)
-                     (not (bobp)))
+                     (not (= (point) (field-beginning (point)))))
            (forward-char -1))
          (or (looking-at dabbrev--abbrev-char-regexp)
              (forward-char 1))))