aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-03-05 19:12:31 +0000
committerLuc Teirlinck2005-03-05 19:12:31 +0000
commitf38c52df07c6a20c05adb75f7cb386c88eddd845 (patch)
treee4f1efbd6f4b7e8c4f4dbcbf33c72f3ca35828b8
parent932614621659e0d590c594e362cf9fbd6ca650cf (diff)
downloademacs-f38c52df07c6a20c05adb75f7cb386c88eddd845.tar.gz
emacs-f38c52df07c6a20c05adb75f7cb386c88eddd845.zip
(goto-line): Remove unbalanced final parenthesis.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/simple.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ad601c58d13..7064db9cd1b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12005-03-05 Luc Teirlinck <teirllm@auburn.edu>
2
3 * simple.el (goto-line): Remove unbalanced final parentheses.
4
12005-03-05 Richard M. Stallman <rms@gnu.org> 52005-03-05 Richard M. Stallman <rms@gnu.org>
2 6
3 * simple.el (goto-line): Use a number at point as the default. 7 * simple.el (goto-line): Use a number at point as the default.
diff --git a/lisp/simple.el b/lisp/simple.el
index 67d3bc6b8e8..68ef955431a 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -780,7 +780,7 @@ If there's a number in the buffer at point, it is the default for ARG."
780 (goto-char 1) 780 (goto-char 1)
781 (if (eq selective-display t) 781 (if (eq selective-display t)
782 (re-search-forward "[\n\C-m]" nil 'end (1- arg)) 782 (re-search-forward "[\n\C-m]" nil 'end (1- arg))
783 (forward-line (1- arg)))))) 783 (forward-line (1- arg)))))
784 784
785(defun count-lines-region (start end) 785(defun count-lines-region (start end)
786 "Print number of lines and characters in the region." 786 "Print number of lines and characters in the region."