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