Permalink
Browse files

Fix warning in ELisp code.

  • Loading branch information...
nominolo committed May 10, 2011
1 parent d1be179 commit d3d352f66a6d003b5b99446a360684149b8252ca
Showing with 2 additions and 1 deletion.
  1. +2 −1 emacs/scion.el
View
@@ -1789,7 +1789,8 @@ The overlay has several properties:
(progn
(find-file-other-window file)
(setq buff (find-buffer-visiting file))))
- (goto-line (scion-note.line note))
+ (goto-char (point-min))
+ (forward-line (1- (scion-note.line note)))
(move-to-column (scion-note.col note))
(let ((r (scion-note.region note buff)))
(with-current-buffer buff

0 comments on commit d3d352f

Please sign in to comment.