`compilation-buffer-name-function` is being overwritten
I have a compilation-buffer-name-function defined to a function I like:
(defun gopar/compilation-buffer-name-function (arg)
"Rename buffer to whatever command was used.
eg. *python main.py*"
(concat "*" compile-command "*"))
(setq compilation-buffer-name-function 'gopar/compilation-buffer-name-function)
This is overwritten my projectile whenever I run the compile command Relevant line: Let expression sets it to nil
Expected behavior
Expect projectile to not overwrite/honor the function
Actual behavior
Projectile wipes out any custom functions
Steps to reproduce the problem
Set compilation-buffer-name-function to any function, it will get overwritten
Environment & Version information
Projectile version information
Projectile 20230317.1101
Emacs version
GNU Emacs 29.0.90 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.1 (Build 21G217)) of 2023-04-11
Operating system
Mac 13.2.1
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed soon if no further activity occurs. Thank you for your contribution and understanding!