chiark / gitweb /
dot/emacs, el/dot-emacs.el: Fix font configuration.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 9 Nov 2009 14:51:13 +0000 (14:51 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 9 Nov 2009 15:10:53 +0000 (15:10 +0000)
commit1e7a9479476de03b7d9e5a31099716999bc3c239
tree57e16e55ac80dc60aa9a7025547a217511e1f22f
parente54d5c43658c4092d57b534ad5d9bda3533be753
dot/emacs, el/dot-emacs.el: Fix font configuration.

Remove the unpleasant hacking with mdw-set-font and friends, and all of
the repeated font setting.  It doesn't work properly with Emacs 23,
because it can run in native frames and terminals simultaneously.

Instead, configure the fonts correctly at startup.  Unfortunately,
`defface' doesn't override the existing settings, so we hack the face
properties the hard way.  This actually seems to work, although it doesn't
have a particular right to.
dot/emacs
el/dot-emacs.el