Skip to content

Instantly share code, notes, and snippets.

@jcsalomon
jcsalomon / smarttabs.el
Created June 14, 2011 13:36 — forked from jacius/smarttabs.el
Emacs smart tabs - indent with tabs, align with spaces!
;;
;; Emacs smart tabs functionality
;; Intelligently indent with tabs, align with spaces!
;;
;; Note: Indenting only uses tabs when indent-tabs-mode is non-nil,
;; otherwise it uses spaces as usual.
;;
;; To use: save as smarttabs.el in your .emacs.d directory, and add
;; "(require 'smarttabs)" to your .emacs file.
;;