diff options
| -rw-r--r-- | lispref/positions.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lispref/positions.texi b/lispref/positions.texi index 72b84a6a0ce..a0e151a1616 100644 --- a/lispref/positions.texi +++ b/lispref/positions.texi | |||
| @@ -409,6 +409,12 @@ Here is an example of using @code{count-lines}: | |||
| 409 | @end example | 409 | @end example |
| 410 | @end defun | 410 | @end defun |
| 411 | 411 | ||
| 412 | @defun line-number-at-pos &optional pos | ||
| 413 | @cindex line number | ||
| 414 | This function returns the line number in the current buffer | ||
| 415 | corresponding the buffer position @var{pos}. If @var{pos} is nil or | ||
| 416 | omitted, the current buffer position is used. | ||
| 417 | |||
| 412 | @ignore | 418 | @ignore |
| 413 | @c ================ | 419 | @c ================ |
| 414 | The @code{previous-line} and @code{next-line} commands are functions | 420 | The @code{previous-line} and @code{next-line} commands are functions |