[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in x-create-frame primitive
From: |
Pavel Janík |
Subject: |
Re: Bug in x-create-frame primitive |
Date: |
Sat, 16 Mar 2002 18:30:46 +0100 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i386-suse-linux-gnu) |
From: Christopher Neufeld <neufeld@magma.ca>
Date: Sat, 16 Mar 2002 14:47:29 GMT
> run "emacs -q" from with an X session
>
> then, execute the following commands:
>
> M-: (setq text-mode-hook 'turn-on-auto-fill)
> M-: (make-frame)
This is not bug. You have set text-mode-hook to a symbol
turn-on-auto-fill. Why? See Elisp reference manual, Hooks for more details
about customizing hooks:
Here's an example that uses a mode hook to turn on Auto Fill mode
when in Lisp Interaction mode:
(add-hook 'lisp-interaction-mode-hook 'turn-on-auto-fill)
--
Pavel Janík
Don't compare floating point numbers just for equality.
-- The Elements of Programming Style (Kernighan & Plaugher)