Fix variable capture in sp-insert-or-up
fix org agenda keyboard macro
save org notes on exit emacs
Add ignore-errors wrappers for tramp cleanup hook.
Assert whether the hook passed to `hook-fn` is a symbol
Use lisp indentation function for indent-dwim
Fix quotation error in use of hook-fn for kill-emacs-hook