Move functions from my defaults to elisp/misc.el