Skip to content
  • Morten Welinder's avatar
    Editors: no per-file style setup. · c5acbad1
    Morten Welinder authored
    The Emacs replacement is something like this:
    
    (add-hook 'c-mode-hook
    	  (lambda ()
    	    (let ((filename (buffer-file-name)))
    	      (and filename
    		   (string-match "/gnumeric/" filename)
    		   (progn
    		     (c-set-style "linux"))))))
    c5acbad1