From: João Távora Date: Thu, 24 Nov 2022 14:48:35 +0000 (+0000) Subject: Remove fboundp check in eglot--connect X-Git-Tag: emacs-29.0.90~1537 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fcd5fde090022c2b1a6c8e130634539892857f9a;p=emacs.git Remove fboundp check in eglot--connect 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. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 94f718c865d..d05b5ee3356 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1185,9 +1185,7 @@ Each function is passed the server as an argument") "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