From: Karl Heuer Date: Thu, 20 Feb 1997 05:48:39 +0000 (+0000) Subject: (occur): Pay attention to multibyte characters. X-Git-Tag: emacs-20.1~2935 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=742d416fccc1241c2d7b9a0a479d5fc52d6d31e1;p=emacs.git (occur): Pay attention to multibyte characters. --- 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 ?:)