diff options
| author | Spencer Baugh | 2023-08-17 15:41:04 -0400 |
|---|---|---|
| committer | Dmitry Gutov | 2023-08-23 05:28:20 +0300 |
| commit | e3209923c3f8c61f22934b9e72ab8840e7d5b9ac (patch) | |
| tree | c0446944acf26ec49be572f730b15b76687b99ed /java/org/gnu | |
| parent | 73b24a41412eb97a9451a8310da0ebab379f7534 (diff) | |
| download | emacs-e3209923c3f8c61f22934b9e72ab8840e7d5b9ac.tar.gz emacs-e3209923c3f8c61f22934b9e72ab8840e7d5b9ac.zip | |
Support adjusting file-name-history to the current project
This adds project-file-history-behavior which has the effect described in
its docstring. Implementing a sort of sharing of file-name-history
between projects.
* lisp/progmodes/project.el (project-file-history-behavior):
New option. (bug#63829)
(project--transplant-file-name): Add.
(project--read-file-cpd-relative): Move history manipulations to
project--read-file-name.
(project--read-file-name): New function. Refer to
project-file-history-behavior.
(project-find-file-in, project-find-dir): Use it.
(project-or-external-find-file): Bind the new option to t, to avoid
touching the external file names.
* etc/NEWS: Announce the new option.
Co-authored-by: Dmitry Gutov <dmitry@gutov.dev>
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions