"Change add-file-local-variable-prop-line" to "add-file-local-variable" in "mplayer-quit-mplayer". Local variables in end of a file is nicer.