From: Leo Liu Date: Mon, 20 Dec 2010 11:31:15 +0000 (+0800) Subject: * help-fns.el (describe-variable): Fix 2010-12-17 change (Bug#7511). X-Git-Tag: emacs-pretest-23.2.92~45 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1a235757a06328c5262c19e37e89428b32571ae;p=emacs.git * help-fns.el (describe-variable): Fix 2010-12-17 change (Bug#7511). --- 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 + + * help-fns.el (describe-variable): Fix 2010-12-17 change. + 2010-12-20 Juri Linkov * 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)