Re: style file



The "linux" style available in newer Emacsen seems to work pretty
well.  I my .emacs, I have

      (add-hook 'c-mode-hook
                (lambda ()
                  (let ((filename (buffer-file-name)))
                    (and filename
                         (string-match "/gnumeric/" filename)
                         (c-set-style "linux"))))
                t)

which seems to work ok for current versions of Emacs.  (It may
cause trouble for the upcoming v21 -- I don't know why.)

Morten




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