From: Katsumi Yamaoka Date: Tue, 25 Jan 2011 10:36:00 +0000 (+0000) Subject: shr.el (shr-expand-newlines): Fix variable name. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~1322^2~129 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=19e0dbe07dc31e855c5d864ad68a2915cf0f6026;p=emacs.git shr.el (shr-expand-newlines): Fix variable name. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 16d0787f768..af4bebdd409 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2011-01-25 Katsumi Yamaoka + + * shr.el (shr-expand-newlines): Fix variable name. + 2011-01-25 Lars Ingebrigtsen * shr.el (shr-expand-newlines): Make nested boxes work. diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index aa05a061868..48aee4004db 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el @@ -663,23 +663,23 @@ ones, in case fg and bg are nil." (goto-char (point-min)) (while (not (eobp)) (end-of-line) - (when (and (< (setq current-column (current-column)) width) - (< (setq current-column (shr-previous-newline-padding-width - current-column)) + (when (and (< (setq column (current-column)) width) + (< (setq column (shr-previous-newline-padding-width column)) width)) (let ((overlay (make-overlay (point) (1+ (point))))) (overlay-put overlay 'before-string (concat (mapconcat (lambda (overlay) - (let ((string (getf (overlay-properties overlay) 'before-string))) + (let ((string (getf (overlay-properties overlay) + 'before-string))) (if (not string) "" (overlay-put overlay 'before-string "") string))) (overlays-at (point)) "") - (propertize (make-string (- width current-column) ? ) + (propertize (make-string (- width column) ? ) 'face (list :background color)))))) (forward-line 1)))))