summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/help-fns.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 25cc72d0b7f..dcdfa3ebc88 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-20 Leo <sdl.web@gmail.com>
+
+ * help-fns.el (describe-variable): Fix 2010-12-17 change.
+
2010-12-20 Juri Linkov <juri@jurta.org>
* isearch.el (isearch-lazy-highlight-error): New variable.
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 5743e1f6019..5050244237d 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -639,7 +639,7 @@ it is displayed along with the global value."
(let ((from (point)))
(terpri)
(pp val)
- (if (< (point) (- 68 (line-beginning-position -1)))
+ (if (< (point) (+ 68 (line-beginning-position 0)))
(delete-region from (1+ from))
(delete-region (1- from) from)))))
(terpri)