all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Buffer-specific background color
@ 2009-12-20 21:39 Colin Williams
  2009-12-20 23:39 ` Lennart Borgman
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Williams @ 2009-12-20 21:39 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

I want to set the background color for a specific buffer, but I can't get it
to work quite right.  I am able to alter the color of the background for the
face default using (face-remap-add-relative 'default :background "#F9F9F9"),
but if the text ends before the end of the buffer, so does the differing
color.  By contrast, (set-face-attribute 'default (selected-frame)
:background "#F9F9F9") will set the color for the whole buffer, but every
other buffer in the frame as well.  Is there a way to set the entire
background of just the current buffer?

Colin

[-- Attachment #2: Type: text/html, Size: 608 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-20 23:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-20 21:39 Buffer-specific background color Colin Williams
2009-12-20 23:39 ` Lennart Borgman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.