aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/dabbrev.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-02-03 10:26:49 +0000
committerRichard M. Stallman <[email protected]>2002-02-03 10:26:49 +0000
commit3f5075727e735bc6cee9434ef9fb1a7b37b8ea66 (patch)
tree88ca554c53136adf3819b97c4b2e0da42151e144 /lisp/dabbrev.el
parent5ea0e32b8a51ff08a2d924a89dad85a4689a495b (diff)
(dabbrev--goto-start-of-abbrev):
Exit loop on beginning of field rather than bobp.
Diffstat (limited to 'lisp/dabbrev.el')
-rw-r--r--lisp/dabbrev.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el
index b085856570..92191a926c 100644
--- a/lisp/dabbrev.el
+++ b/lisp/dabbrev.el
@@ -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))))