crl@CSvax:Pucc-H:pur-phy.UUCP (08/31/83)
I've implemented an idea stolen from ITS EMACS that I've found very useful that some of you might also want to use. At the end of every library I do a (error-occured (&setup-libraryname-library)) and at the end of a mode function an (error-occured (&setup-modename-mode)). This way, other EMACS system functions that either load libraries or call modes will get setup to the user's liking, thus (almost) eliminating the need for users to copy libraries just to tailor key-bindings and the like. Charles LaBrec pur-ee!Physics:crl purdue!Physics:crl
cak@purdue.ARPA@sri-unix.UUCP (09/02/83)
From: Christopher A Kent <cak@purdue.ARPA> Many of Spencer's (Thomas at Utah-CS, if you don't know) already have hooks like this, but they're nicer in that they appear at the end of the invocation -- so the c mode hook gets called every time you edit a new .c file, for example. It's incredibly useful. chris