[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: Fontset `tty' does not exist when running the Emacs with *ema
From: |
Kenichi Handa |
Subject: |
Re: error: Fontset `tty' does not exist when running the Emacs with *emacs -nw* |
Date: |
Fri, 08 Dec 2006 21:34:48 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Hongyi Zhao <address@hidden> writes:
> % emacs -nw --debug-init
> The time, I get the Debugger-entered--Lisp error as this:
> =====================
> Debugger entered--Lisp error: (error "Fontset `tty' does not exist")
> set-fontset-font("tty" (131072 . 195101) ("*-Sun-ExtB" . "unicode-sip"))
> eval-buffer(#<buffer *load*> nil "/home/zhaohs/.emacs" nil t) ; Reading
> at $
> load-with-code-conversion("/home/zhaohs/.emacs" "/home/zhaohs/.emacs" t t)
> load("~/.emacs" t t)
> #[nil "^H\205\276^@ address@hidden@
> address@hidden
> command-line()
> normal-top-level()
> =====================
In your .emacs, please use a code something like this:
(if (display-graphic-p)
(set-fontset-font ...))
---
Kenichi Handa
address@hidden