[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic Mode Lines
> Does anyone have a hack that automatically inserts a mode line in a newly
> created LISP mode buffer? If not, is there an undocumented feature of
> ZMACS that does the same?
How about putting the following in your init file:
(DEFUN FOO () (ZWEI:UPDATE-ATTRIBUTE-LIST-INTERNAL ZWEI:*INTERVAL*))
(SETF ZWEI:LISP-MODE-HOOK 'FOO)
The problem with the above hack is that when you read in an existing .lisp
file, it sets the file modified flag for the buffer even if the the
attribute line remains unchanged. Anybody have a better solution?