"Alexander Burchell" <aburchel(a)wilshire.com> wrote:
>>>>> "Dmitry" == Dmitry Yaitskov
<dimas(a)home.com> writes:
Dmitry> Hi, Some time ago (specifically, on 29/12/00), Kilian
Dmitry> A. Foth reported the following bug:
Kilian> Doing (set-face-background-pixmap 'default
Kilian> "/my/pretty/file1.jpeg") correctly sets the background
Kilian> pixmap the image in file1, but following up with
Kilian> (set-face-background-pixmap 'default
Kilian> "/my/pretty/file2.jpeg") displays the same image again,
Kilian> not the second one as under 21.1.
A workaround is to do the following:
(set-face-foreground face foreground)
remove-face-property face 'background-pixmap)
(set-face-background-pixmap face pixmap)
;; XXX XXX XXX This seems necessary only with '21.2 (beta37)
;; "Pan" XEmacs Lucid'. Otherwise things are all screwy.
(set-face-background face foreground)
Thanks. It *kind of* helped - i.e. *manual* execution of
set-face-background (or set-face-foreground) seems to reset the pixmap
which was used last. Including these commands in my function that sets
the pixmap for the current buffer did not help though. Sorry if this
does not make much sense.
--
Cheers,
-Dima.