summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorSpencer Baugh <sbaugh@janestreet.com>2023-08-23 05:11:55 +0300
committerDmitry Gutov <dmitry@gutov.dev>2023-08-23 05:28:20 +0300
commit8933c1877dc467b683523062b3022824baccef17 (patch)
tree53716542ad84e47a842dee656428101415881561 /lisp/emacs-lisp/syntax.el
parente3209923c3f8c61f22934b9e72ab8840e7d5b9ac (diff)
downloademacs-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