What the .emacs.d!?

Ever been annoyed at the lack of reindentation after using sgml-delete-tag?


;; after deleting a tag, indent properly
(defadvice sgml-delete-tag (after reindent activate)
  (indent-region (point-min) (point-max)))

Be annoyed no more!

This blogpost brought to you live from WebRebels 2013.

blog comments powered by Disqus