diff options
| author | Sean Whitton | 2025-08-06 15:05:08 +0100 |
|---|---|---|
| committer | Sean Whitton | 2025-08-08 11:17:53 +0100 |
| commit | c501ed7dc19fc6f061c08da59228bc390fd67c39 (patch) | |
| tree | 670a2d7bca76958e84b8e3bad1c116f8c79eccde /admin/notes/java | |
| parent | 4456f7bd313ab829ba3ec6375349a693dbbc1930 (diff) | |
| download | emacs-c501ed7dc19fc6f061c08da59228bc390fd67c39.tar.gz emacs-c501ed7dc19fc6f061c08da59228bc390fd67c39.zip | |
Generalize finding project matching files to other major modes
* lisp/progmodes/project.el
(project-find-matching-buffer-function): New variable.
(project-find-matching-file): Delete.
(dired-current-directory): Declare.
(project-find-matching-file-or-directory): New function. Like
the old 'project-find-matching-file', but also handle Dired
buffers (bug#79126). When matching file/directory does not
exist, try going up in the directory tree until we find
something that does.
(project-find-matching-buffer): New command.
* lisp/vc/vc.el (vc-switch-working-tree): Use it (bug#79126).
* etc/NEWS: Announce new command and new variable.
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions