fix bugs of add new feature configuration of emacs 24.3