add notification support when open emacs --daemon; remove useless  variable.