Bug#341203: minor correction to line-number

2006-01-06 Thread Ralf Treinen
On Fri, Jan 06, 2006 at 10:42:10AM +0800, YANG Shouxun wrote: > We'd better move point to the beginning of line before calling count-lines. > It also can be nice if we define line-number somewhere: Thanks for your patch. > Anyway, this does not stop tuareg from raising an error scanning gdome.ml

Bug#341203: minor correction to line-number

2006-01-05 Thread YANG Shouxun
According to the documentation to count-lines, reproduced below: count-lines is a compiled Lisp function in `simple.el'. (count-lines START END) Return number of lines between START and END. This is usually the number of newlines between them, but can be one more if START is not equal to END and