aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLuc Teirlinck <[email protected]>2005-03-05 19:12:31 +0000
committerLuc Teirlinck <[email protected]>2005-03-05 19:12:31 +0000
commitf38c52df07c6a20c05adb75f7cb386c88eddd845 (patch)
treee4f1efbd6f4b7e8c4f4dbcbf33c72f3ca35828b8 /lisp
parent932614621659e0d590c594e362cf9fbd6ca650cf (diff)
(goto-line): Remove unbalanced final parenthesis.
Diffstat (limited to 'lisp')
-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 ad601c58d1..7064db9cd1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-05 Luc Teirlinck <[email protected]>
+
+ * simple.el (goto-line): Remove unbalanced final parentheses.
+
2005-03-05 Richard M. Stallman <[email protected]>
* simple.el (goto-line): Use a number at point as the default.
diff --git a/lisp/simple.el b/lisp/simple.el
index 67d3bc6b8e..68ef955431 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."
(goto-char 1)
(if (eq selective-display t)
(re-search-forward "[\n\C-m]" nil 'end (1- arg))
- (forward-line (1- arg))))))
+ (forward-line (1- arg)))))
(defun count-lines-region (start end)
"Print number of lines and characters in the region."