From e1a235757a06328c5262c19e37e89428b32571ae Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Mon, 20 Dec 2010 19:31:15 +0800 Subject: [PATCH] * help-fns.el (describe-variable): Fix 2010-12-17 change (Bug#7511). --- lisp/ChangeLog | 4 ++++ lisp/help-fns.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.39.5