HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use forward-line rather than goto-line.
[bpt/emacs.git]
/
lisp
/
term.el
diff --git
a/lisp/term.el
b/lisp/term.el
index
4511c39
..
295f1e8
100644
(file)
--- a/
lisp/term.el
+++ b/
lisp/term.el
@@
-3465,7
+3465,8
@@
The top-most line is line 0."
(set-buffer buffer)
(save-restriction
(widen)
- (goto-line line)
+ (goto-char (point-min))
+ (forward-line (1- line))
(setq pos (point))
(setq overlay-arrow-string "=>")
(or overlay-arrow-position