[Top][All Lists]

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

Strange problem with (setq buffer-read-only t).

From: Andy Stewart
Subject: Strange problem with (setq buffer-read-only t).
Date: Fri, 16 Jan 2009 02:03:17 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hi all,

I have develop irfc.el (interface for IETF RFC document) at:

I use (setq buffer-read-only t) in function `irfc-mode' for make RFC
buffer read-only.

And strange thing is, the (setq buffer-read-only t) that write in code looks
no effect.
But everything is okay if i eval (setq buffer-read-only t) after i open
RFC document.

Why not effect in my code?

So strange....

Andy idea?


  -- Andy

reply via email to

[Prev in Thread] Current Thread [Next in Thread]