Re: style file



Thanks Morten and Dave,

"linux" seem to do quite fine!

Andreas

Morten Welinder wrote:

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


--
Prof. Dr. Andreas J. Guelzow Assoc. Prof of Mathematics
Concordia University College of Alberta
http://www.math.concordia.ab.ca/aguelzow





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