   (c-set-offset 'arglist-intro '+)
   (c-set-offset 'arglist-close '+))
 
-(defun ds/tabs-mode ()
-  (interactive)
-  (set 'indent-tabs-mode t))
+(add-hook 'c++-mode-hook #'biosite-c-style)
 
-(add-hook 'c++-mode-hook #'biosite-c-style)
-(add-hook 'c++-mode-hook #'ds/tabs-mode)
 
 (defun ds/biosite-html-style ()
   (interactive)


(add-hook 'html-mode-hook #'ds/biosite-html-style)

(defun ds/biosite-js-style ()
  (interactive)
  (setq indent-tabs-mode t)
  (setq js-indent-level tab-width)
  (setq js0comment-)
  )


(defun ds/disable-tabs-advice (&rest args)
  "Use spaces not tabs for advised function"
  (let ((indent-tabs-mode nil))
    (apply args)))
(advice-add #'align :around #'ds/disable-tabs-advice)
(advice-add #'align-regexp :around #'ds/disable-tabs-advice)
(advice-add #'align-region :around #'ds/disable-tabs-advice)
;; Add any other alignment functions here


(defun biosite-c-style ()
  (interactive)

  (set 'indent-tabs-mode t)

  ;; Ensure that one offset is a tab
  (set 'c-basic-offset tab-width)
