diff options
author | Richard M. Stallman <rms@gnu.org> | 2002-03-18 04:24:57 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2002-03-18 04:24:57 +0000 |
commit | 43711c229f0979acba24729b3f29bd575eab0a0a (patch) | |
tree | 84410b335bc572f225da715459f918facd991c11 /lisp/dabbrev.el | |
parent | 1665be4714b025899471f37faa45d2b644a547ff (diff) | |
download | emacs-43711c229f0979acba24729b3f29bd575eab0a0a.tar.gz |
(dabbrev--goto-start-of-abbrev): Put a limit on field-beginning search.
Diffstat (limited to 'lisp/dabbrev.el')
-rw-r--r-- | lisp/dabbrev.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index 92191a926c3..55b080ee0b1 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -599,7 +599,9 @@ See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]." (progn (forward-char -1) (while (and (looking-at dabbrev--abbrev-char-regexp) - (not (= (point) (field-beginning (point))))) + (not (bobp)) + (not (= (point) (field-beginning (point) nil + (1- (point)))))) (forward-char -1)) (or (looking-at dabbrev--abbrev-char-regexp) (forward-char 1)))) |