[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4000: emacs can't initialize x window



>>>>> "EB" == Erick Branderhorst <branderh@iaehv.nl> wrote:

EB> I load hilit19.el in my .emacs but when not under X this error occurs.

EB> Loading hilit19...
EB> Error in init file: error: "X windows are not in use or not initialized"

Maybe that's why the documentation at the beggining of hilit19.el says
to probe for X using "(cond (window-system ...))":


(cond (window-system
        (setq hilit-mode-enable-list  '(not text-mode)
              hilit-background-mode   'light
              hilit-inhibit-hooks     nil
              hilit-inhibit-rebinding nil)

        (require 'hilit19)
        ))


Emilio.

-- 
                 Emilio C. Lopes <mailto:ecl@finpe.if.usp.br>
               Instituto de Fisica da Universidade de Sao Paulo
             Caixa Postal 66318, 05389-970 Sao Paulo - SP, BRAZIL
              Phone: (+55) (11) 818-6724 (Voice) / 818-6715 (Fax)



Reply to: