aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSpencer Baugh2023-07-09 22:21:03 -0400
committerEli Zaretskii2023-07-26 17:41:48 +0300
commit2aec67f4deb1a7dfd87f7da8479be4b2784bcc39 (patch)
tree30f1ffd66cc9385a42d7c34bf4f0bbe4dd269347 /src
parent4ef9cc5a5ded7156e573a67474f3f48da6c7afe4 (diff)
downloademacs-2aec67f4deb1a7dfd87f7da8479be4b2784bcc39.tar.gz
emacs-2aec67f4deb1a7dfd87f7da8479be4b2784bcc39.zip
Support transforming the dirname used by uniquify
By transforming the buffer's directory name, we can add additional information to use during uniquifying. A basic one: uniquifying buffer names based on the project name. * lisp/progmodes/project.el (project-uniquify-dirname-transform): Add. * lisp/uniquify.el (uniquify-dirname-transform-default) (uniquify-dirname-transform): Add. (Bug#62621) (uniquify-rationalize-file-buffer-names, uniquify-buffer-file-name): Use 'uniquify-dirname-transform'. * test/lisp/uniquify-tests.el (uniquify-home) (uniquify-project-transform): Add tests.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions