Make project-name work for older Emacs.