aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/java
diff options
context:
space:
mode:
authorSean Whitton2025-08-06 15:05:08 +0100
committerSean Whitton2025-08-08 11:17:53 +0100
commitc501ed7dc19fc6f061c08da59228bc390fd67c39 (patch)
tree670a2d7bca76958e84b8e3bad1c116f8c79eccde /admin/notes/java
parent4456f7bd313ab829ba3ec6375349a693dbbc1930 (diff)
downloademacs-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