text-mode in emacs

chris at umcp-cs chris at umcp-cs
Sun Aug 12 12:59:18 AEST 1984


Say what?

Try this:

	(autoload "text-mode" <whatever file you keep yours in>)
	(auto-execute "text-mode" "*.nr")
	(auto-execute "text-mode" "/tmp/Re*")

The auto-execute function takes a function name and a ``pattern''
(which must be either an asterisk followed by non-asterisk text
or non-asterisk text followed by an asterisk or just an asterisk,
whew!) and runs the named function whenever you visit a file whose
name matches the ``pattern''.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.unix.wizards mailing list