 (require 'ggtags)
-(add-hook 'c-mode-hook
-	  (lambda () (ggtags-mode 1)))
+(add-hook 'c-mode-hook (lambda () (ggtags-mode 1)))
 
 
 (define-key ggtags-mode-map (kbd "C-c g s") 'ggtags-find-other-symbol)

(define-key ggtags-mode-map (kbd "C-c g u") 'ggtags-update-tags)
(define-key ggtags-mode-map (kbd "M-,") 'pop-tag-mark)

(setq c-default-style "k&r"
      c-basic-offset 4)

(defun insert-include-gaurds ()
  "Auto inserts include guards into your C buffer"
  (interactive)

      (insert (concat "#define " guard-str "\n"))
      (end-of-buffer)
      (insert "#endif"))))
