From 3f5075727e735bc6cee9434ef9fb1a7b37b8ea66 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 3 Feb 2002 10:26:49 +0000 Subject: [PATCH] (dabbrev--goto-start-of-abbrev): Exit loop on beginning of field rather than bobp. --- lisp/dabbrev.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index b0858565703..92191a926c3 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)))) -- 2.39.5