prevent Emacs from adding a new line at end of file
With the default configuration Emacs requires a final new-line at the end of a file. If the last character of a file is not a new-line, Emacs adds one while saving. This can be changed by setting require-final-newline
to nil