Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.704 kB
;; Fixar inte riktigt extern int ...
;; (defun flymake-c-init ()
;; (let* ((temp-file (flymake-init-create-temp-buffer-copy
;; 'flymake-create-temp-inplace))
;; (local-file (file-relative-name
;; temp-file
;; (file-name-directory buffer-file-name))))
;; (list "gcc" (list "-Wall" "-std=c99" "-pedantic" local-file))))
(defun flymake-c-init ()
(list "make"
(list "-s" "-C"
(flymake-find-buildfile "Makefile" "."))))
(push '("\\.c$" flymake-c-init) flymake-allowed-file-name-masks)
;; (add-hook 'c-mode-hook
;; '(lambda ()
;; (flymake-mode t)))
(provide 'aj-flymake-c)
Jump to Line
Something went wrong with that request. Please try again.