summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-11-07 03:52:04 +0000
committerRichard M. Stallman <rms@gnu.org>2004-11-07 03:52:04 +0000
commitf8cb5ed6214b563e2d1ce61b923b544ae48113ae (patch)
tree1eefdcd76d6a022b3168edfd01c5715eb3f00062
parentf28c1bd9cd71668830a1db49d8e15be8a817c84f (diff)
downloademacs-f8cb5ed6214b563e2d1ce61b923b544ae48113ae.tar.gz
(flyspell-external-point-words): Use goto-char instead of beginning-of-buffer.
-rw-r--r--lisp/textmodes/flyspell.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index 556369077d8..441d9972173 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -1281,7 +1281,7 @@ Word syntax described by `ispell-dictionary-alist' (which see)."
(defun flyspell-external-point-words ()
(let ((buffer flyspell-external-ispell-buffer))
(set-buffer buffer)
- (beginning-of-buffer)
+ (goto-char (point-min))
(let ((size (- flyspell-large-region-end flyspell-large-region-beg))
(start flyspell-large-region-beg))
;; now we are done with ispell, we have to find the word in