Subject: bug#2746: [PATCH] 23.0.91; ELP header not aligned correctly.

From: Nikolaj Schumacher <[email-masked]>
Date: Sun, 22 Mar 2009 18:13:21 +0100

It seems header-line-format in ELP has each column one char too short.

In GNU Emacs 23.0.91.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-03-22 on thursday
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns' '--with-x''

regards,
Nikolaj Schumacher

diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el
index 900b93e..0d00fea 100644
--- a/lisp/emacs-lisp/elp.el
+++ b/lisp/emacs-lisp/elp.el
@@ -626,7 +626,7 @@ displayed."
                                    'display (list 'space :align-to column)
                                    'face 'fixed-pitch)
                        title)
-                    (setq column (+ column 1
+                    (setq column (+ column 2
                                     (if (= column 0)
                                         elp-field-len
                                       (length title))))))