emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] add interactive browse of revisions from vc *Annotate* buffe


From: Miles Bader
Subject: Re: [patch] add interactive browse of revisions from vc *Annotate* buffers
Date: 23 Jan 2004 11:02:50 +0900

address@hidden (Kim F. Storm) writes:
> (defun line-at-pos (&optional pos start)
>   "Return (narrowed) buffer line number at position POS.
> If POS is nil, use current buffer location.  
> If START is non-nil, count lines from that buffer position,
> even if narrowing is in effect."

I like the functionality, but the name seems slightly ambiguous --
it suggests that it may actually return the line _contents_ instead.

How about calling it just `line-number' (with the same arguments)?

-Miles
-- 
Yo mama's so fat when she gets on an elevator it HAS to go down.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]