Subject: Re: bug#19339: 25.0.50; Buffer-local value of face-remapping-alist leaks to other buffers

From: [email-masked] (Óscar Fuentes)
Date: Wed, 10 Dec 2014 21:25:01 +0100

Stefan Monnier <[email-masked]> writes:

> Too many parentheses,

Thanks. Here the revised version:

(dolist (b (buffer-list))
  (when (or (string= (buffer-name b) " *Echo Area 0*")
	    (string= (buffer-name b) " *Echo Area 1*"))
    (with-current-buffer b
      (make-local-variable 'face-remapping-alist)
      (add-to-list 'face-remapping-alist
		   '(default (:background "green"))))))

Still, the background of the minibuffer goes away as soon as you move the
cursor around and the funny "nil" strings are inserted on *scratch* when
you press `C-j'.