 (defadvice align (around smart-tabs activate)
   (let ((indent-tabs-mode indent-tabs-mode)) ad-do-it))
 
+
 (defadvice align-regexp (around smart-tabs activate)
   (let ((indent-tabs-mode indent-tabs-mode)) ad-do-it))
 
+
 (defadvice indent-relative (around smart-tabs activate)
   (let ((indent-tabs-mode indent-tabs-mode)) ad-do-it))
+
 
 (defadvice indent-according-to-mode (around smart-tabs activate)
   (let ((indent-tabs-mode indent-tabs-mode))

                indent-relative-maybe))
        (setq indent-tabs-mode indent-tabs-mode))
    ad-do-it))

(defmacro smart-tabs-advice (function offset)
  `(progn

  (smart-tabs-advice c-indent-region c-basic-offset)

  ;; JS2-mode
  ;;
  (smart-tabs-advice js2-indent-line js2-basic-offset)
  )
