bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Nikolaj Schumacher
Subject: bug#2746: [PATCH] 23.0.91; ELP header not aligned correctly.
Date: Sun, 22 Mar 2009 18:13:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin)

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))))))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]