This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: inserting some Emacs-specific stuff into the source files


thi <ttn@revel.glug.org> writes:

> how about:
> 
> (add-hook 'find-file-hook
> 	  (lambda () (and (fboundp 'c-set-style)
> 		          (string-match "guile" (buffer-file-name))
> 			  (c-set-style "gnu") )))

yes, I'm aware of this approach.  it has the same conceptual problem
as the C typing model: you attach an attribute to a location, instead
of the object itself.

OTOH, I see no apparent reason to move Guile source files around, so
it's prolly good enough...

-- 
Parenthesize to avoid ambiguity.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]