Subject: bug#12387: 24.2.50; File column printed by list-buffers is bad if done in dired-mode

From: Glenn Morris <[email-masked]>
Date: Thu, 13 Sep 2012 03:52:16 -0400

Seems that format-mode-line (as of ~ 1 month) fails to preserve
current-buffer:

Evalute in *scratch*:

(let ((buffer (get-buffer "*Messages*")))
  (with-current-buffer buffer
    (message "1 %s" (current-buffer))
    (format-mode-line mode-name nil nil buffer)
    (message "2 %s" (current-buffer))))

->
1 *Messages*
2 *scratch*