diff options
author | Spencer Baugh <sbaugh@janestreet.com> | 2023-08-23 05:11:55 +0300 |
---|---|---|
committer | Dmitry Gutov <dmitry@gutov.dev> | 2023-08-23 05:28:20 +0300 |
commit | 8933c1877dc467b683523062b3022824baccef17 (patch) | |
tree | 53716542ad84e47a842dee656428101415881561 /lisp/emacs-lisp/syntax.el | |
parent | e3209923c3f8c61f22934b9e72ab8840e7d5b9ac (diff) | |
download | emacs-8933c1877dc467b683523062b3022824baccef17.tar.gz emacs-8933c1877dc467b683523062b3022824baccef17.tar.bz2 emacs-8933c1877dc467b683523062b3022824baccef17.zip |
Use current file name for more "other project" future history
In the previous commit we added support for using the current buffer's
file name as future history for project-find-file even when switching
to another project with project-switch-project. Make this work for
project-find-dir and project-or-external-find-file too.
* lisp/progmodes/project.el (project--find-default-from): Add.
(project-find-file, project-or-external-find-file): Use
project--find-default-from with buffer-file-name.
(project-find-dir): Use project--find-default-from with
default-directory.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions