diff options
Diffstat (limited to 'lisp/array.el')
| -rw-r--r-- | lisp/array.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/array.el b/lisp/array.el index d22d58ca059..1f04e8ef724 100644 --- a/lisp/array.el +++ b/lisp/array.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; array.el --- array editing commands for GNU Emacs | 1 | ;;; array.el --- array editing commands for GNU Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1987, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 3 | ;; Copyright (C) 1987, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | ;; 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | ;; 2008, 2009, 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: David M. Brown | 6 | ;; Author: David M. Brown |
| 7 | ;; Maintainer: FSF | 7 | ;; Maintainer: FSF |
| @@ -748,9 +748,7 @@ of `array-rows-numbered'." | |||
| 748 | 748 | ||
| 749 | (defun current-line () | 749 | (defun current-line () |
| 750 | "Return the current buffer line at point. The first line is 0." | 750 | "Return the current buffer line at point. The first line is 0." |
| 751 | (save-excursion | 751 | (count-lines (point-min) (line-beginning-position))) |
| 752 | (beginning-of-line) | ||
| 753 | (count-lines (point-min) (point)))) | ||
| 754 | 752 | ||
| 755 | (defun move-to-column-untabify (column) | 753 | (defun move-to-column-untabify (column) |
| 756 | "Move to COLUMN on the current line, untabifying if necessary. | 754 | "Move to COLUMN on the current line, untabifying if necessary. |
| @@ -903,5 +901,4 @@ Entering array mode calls the function `array-mode-hook'." | |||
| 903 | 901 | ||
| 904 | (provide 'array) | 902 | (provide 'array) |
| 905 | 903 | ||
| 906 | ;; arch-tag: 0086605d-79fe-4a1a-992a-456417261f80 | ||
| 907 | ;;; array.el ends here | 904 | ;;; array.el ends here |