yAdd pre and post up hooks
Add emacs settings