summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1997-02-20 05:48:39 +0000
committerKarl Heuer <kwzh@gnu.org>1997-02-20 05:48:39 +0000
commit742d416fccc1241c2d7b9a0a479d5fc52d6d31e1 (patch)
tree77d79dc5fb25f8c915ac5331b97512ba4e1034ee /lisp/replace.el
parentf8e2c40cded31abba544fc2b47f45c8e6eaaa300 (diff)
downloademacs-742d416fccc1241c2d7b9a0a479d5fc52d6d31e1.tar.gz
(occur): Pay attention to multibyte characters.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 086fea67455..0cb0f0486c5 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -440,7 +440,7 @@ It serves as a menu to find any of the occurrences in this buffer.
(insert-buffer-substring buffer start end)
(set-marker final-context-start
(- (point) (- end (match-end 0))))
- (backward-char (- end start))
+ (goto-char (- (point) (- end start)))
(setq tem nlines)
(while (> tem 0)
(insert empty ?:)