Subject: bug#4217: 23.1; probable mode-line bug

From: Glenn Morris <[email-masked]>
Date: Mon, 24 Aug 2009 23:08:42 -0400

Eli Barzilay wrote:

> In this bit in "bindings.el" from the code that sets the modeline
> format:
>
> 	 `(which-func-mode ("" which-func-format ,dashes))
> 	 `(global-mode-string (,dashes global-mode-string))
>
> it looks like there is a typo, and the first line should also have the
> dashes before the format string.

The following makes more sense to me. OK?

***************
*** 356,362 ****
     (propertize "  " 'help-echo help-echo)
      'mode-line-modes
       `(which-func-mode ("" which-func-format ,dashes))
!       `(global-mode-string (,dashes global-mode-string))
         (propertize "-%-" 'help-echo help-echo)))
         (standard-mode-line-modes
         (list
--- 364,370 ----
     (propertize "  " 'help-echo help-echo)
      'mode-line-modes
       `(which-func-mode ("" which-func-format ,dashes))
!       `(global-mode-string ("" global-mode-string ,dashes))
         (propertize "-%-" 'help-echo help-echo)))
         (standard-mode-line-modes
         (list