]> git.eshelyaron.com Git - emacs.git/commit
Simplify a little, and avoid duplicate commands
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 12 May 2020 00:22:30 +0000 (03:22 +0300)
committerSimen Heggestøyl <simenheg@gmail.com>
Tue, 26 May 2020 15:41:24 +0000 (17:41 +0200)
commit9f88356b6770fb710c47e277dbdb4ba31b463d08
treed2990f3e3d2dbe2d6f576ea0a2a9f5170719ae17
parentafb7602a24cdb38c02998cc1f3c538b31981b255
Simplify a little, and avoid duplicate commands

* lisp/progmodes/project.el:
(project--transient-p) Remove, not needed.
(project-current): Move project-find based on the directory here.
(project--remove-from-project-list): Only write if the list changed.
(project-find-project): Rename to project-prompt-project-dir.
Simply return the directory selected by the user.
(project-switch-project-find-file): Remove.
(project-switch-project-dired): Rename to project-dired and make
it follow the convention of existing projec tcommands.
(project-switch-project-eshell): Ditto.
(project-switch-project): Instead of passing the project instance
to the command, just bind default-directory.
lisp/progmodes/project.el