add and use dot module
move code by which close compilation buffer if compile success to prelude-editor.el