# HG changeset patch # User Kenichi Handa # Date 856957995 0 # Node ID d436e2536685fcf28cf55dc355db8390f3a45ecd # Parent 229cc62c6aa3d677d24aa7beb9827bb0c57119c6 (bookmark-jump-noselect): Use goto-char instead of forward-char/backward-char to pay attention to multibyte characters.. diff -r 229cc62c6aa3 -r d436e2536685 lisp/bookmark.el --- a/lisp/bookmark.el Wed Feb 26 11:48:32 1997 +0000 +++ b/lisp/bookmark.el Wed Feb 26 11:53:15 1997 +0000 @@ -1114,10 +1114,10 @@ ;; rather than after and remain perhaps unaware of the changes. (if forward-str (if (search-forward forward-str (point-max) t) - (backward-char (length forward-str)))) + (goto-char (match-beginning 0)))) (if behind-str (if (search-backward behind-str (point-min) t) - (forward-char (length behind-str)))) + (goto-char (match-end 0)))) ;; added by db (setq bookmark-current-bookmark str) (cons (current-buffer) (point)))