From: Dmitry Gutov Date: Mon, 16 Sep 2024 23:11:52 +0000 (+0300) Subject: Rename project-{find-file-in-root,root-find-file} X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=abd5b75449dfe4c5f20e6c3c937b8251f290169f;p=emacs.git Rename project-{find-file-in-root,root-find-file} * lisp/progmodes/project.el (project-root-find-file): Rename from 'project-find-file-in-root' (bug#73044). (cherry picked from commit 8eb66cca78dca27d58a8881b587b3340043a74f7) --- diff --git a/etc/NEWS b/etc/NEWS index 7284ad5335c..875a614915d 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -84,7 +84,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 83cd3f4f7cb..714acc5faca 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -1076,7 +1076,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