aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSimen Heggestøyl2020-05-28 17:02:17 +0200
committerSimen Heggestøyl2020-05-28 17:02:17 +0200
commitd97f224fd0db2ee13150ec7c4d6311eab48cda9e (patch)
tree06417974e77ae3e27683f08a6508badc87ceb96d /doc
parent2bdb2cd10d08a1d9c9a187c7d967fdc64b8e6743 (diff)
parent9823c66b885c0c310061489bd732f3888a802b01 (diff)
downloademacs-d97f224fd0db2ee13150ec7c4d6311eab48cda9e.tar.gz
emacs-d97f224fd0db2ee13150ec7c4d6311eab48cda9e.zip
Merge branch 'feature/project-switching'
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/maintaining.texi35
1 files changed, 34 insertions, 1 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index ebcdddfcae3..22b7639d349 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1656,8 +1656,16 @@ support additional types of projects.
1656the project back-end. For example, the VC back-end doesn't consider 1656the project back-end. For example, the VC back-end doesn't consider
1657``ignored'' files (@pxref{VC Ignore}) to be part of the project. 1657``ignored'' files (@pxref{VC Ignore}) to be part of the project.
1658 1658
1659@menu
1660* Project File Commands:: Commands for handling project files.
1661* Switching Projects:: Switching between projects.
1662@end menu
1663
1664@node Project File Commands
1665@subsection Project File Commands
1666
1659 Emacs provides commands for handling project files conveniently. 1667 Emacs provides commands for handling project files conveniently.
1660This section describes these commands. 1668This subsection describes these commands.
1661 1669
1662@cindex current project 1670@cindex current project
1663 All of the commands described here share the notion of the 1671 All of the commands described here share the notion of the
@@ -1705,6 +1713,31 @@ Replace}), and continues to the next match after you respond. If your
1705response causes Emacs to exit the query-replace loop, you can later 1713response causes Emacs to exit the query-replace loop, you can later
1706continue with @w{@kbd{M-x fileloop-continue @key{RET}}}. 1714continue with @w{@kbd{M-x fileloop-continue @key{RET}}}.
1707 1715
1716@findex project-dired
1717 The command @code{project-dired} opens a Dired buffer
1718(@pxref{Dired}) listing the files in the current project's root
1719directory.
1720
1721@findex project-eshell
1722 The command @code{project-eshell} starts an Eshell session in a new
1723buffer with the current project's root as the working directory.
1724@xref{Top,Eshell,Eshell, eshell, Eshell: The Emacs Shell}.
1725
1726@node Switching Projects
1727@subsection Switching Projects
1728
1729 Commands that operate on project files (@pxref{Project File
1730Commands}) will conveniently prompt you for a project directory when
1731no project is current. When you are inside a project but you want to
1732operate on a different project, the command
1733@code{project-switch-project} can be used.
1734
1735 This command prompts you to choose a directory among known project
1736roots, and then displays the menu of available commands to operate on
1737the chosen project. The variable @code{project-switch-commands}
1738controls which commands are available in the menu, and by which keys
1739they are invoked.
1740
1708@node Change Log 1741@node Change Log
1709@section Change Logs 1742@section Change Logs
1710 1743