emacs-devel
[Top][All Lists]
Advanced

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

Re: Apparent bug in `format-mode-line'.


From: Richard Stallman
Subject: Re: Apparent bug in `format-mode-line'.
Date: Fri, 20 May 2005 17:57:16 -0400

Does this fix it?

*** xdisp.c     17 May 2005 17:21:44 -0400      1.1009
--- xdisp.c     20 May 2005 16:37:42 -0400      
***************
*** 16033,16039 ****
                   && --limit > 0
                   && (precision <= 0 || n < precision))
              {
!               n += display_mode_element (it, depth, field_width - n,
                                           precision - n, XCAR (elt),
                                           props, risky);
                elt = XCDR (elt);
--- 16033,16044 ----
                   && --limit > 0
                   && (precision <= 0 || n < precision))
              {
!               n += display_mode_element (it, depth,
!                                          /* Do padding only after the last
!                                             elements in the list.  */
!                                          (! CONSP (XCDR (elt))
!                                           ? field_width - n
!                                           : 0),
                                           precision - n, XCAR (elt),
                                           props, risky);
                elt = XCDR (elt);




reply via email to

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