project.el is a GNU ELPA :core package, so this kind of trick isn't
needed.
* lisp/progmodes/eglot.el (eglot--connect): Don't fboundp
project-name.
"Connect to MANAGED-MODES, LANGUAGE-ID, PROJECT, CLASS and CONTACT.
This docstring appeases checkdoc, that's all."
(let* ((default-directory (project-root project))
- (nickname (if (fboundp 'project-name)
- (project-name project)
- (file-name-base (directory-file-name default-directory))))
+ (nickname (project-name project))
(readable-name (format "EGLOT (%s/%s)" nickname managed-modes))
autostart-inferior-process
server-info