(switch-to-buffer (get-buffer-create bufname))
(defun untabify-buffer ()
(indent-region (point-min) (point-max)))
+ "Indent the current defun."
(defun cleanup-buffer-safe ()
"Perform a bunch of safe operations on the whitespace content of a buffer.
Does not indent buffer, because it is used for a before-save-hook, and that
+;; TODO: add function to hide function bodies and leave just name and
+;; docstring, useful for quick overview of the package. See