Better customization of require-final-newline variable

in ~/.emacs