diff --git a/etc/NEWS b/etc/NEWS index 492159439fc..8bd5c7c9515 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -111,7 +111,7 @@ This hook allows you to control which tab-bar tabs are auto-resized. ** Project --- -*** New command 'project-find-file-in-root'. +*** New command 'project-root-find-file'. It is equivalent to running ‘project-any-command’ with ‘find-file’. diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 220d4dfe853..b29d5ed5404 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -1073,7 +1073,7 @@ using a command like `project-find-file'." filename)) ;;;###autoload -(defun project-find-file-in-root (filename) +(defun project-root-find-file (filename) "Edit file FILENAME. Interactively, prompt for FILENAME, defaulting to the root directory of