Steps to reproduce
- Set
(setq chatgpt-shell-always-create-new t) in your configuration.
- In a new Emacs instance ensuring no chatgpt-shell buffers exist.
- Run
M-x chatgpt-shell for the first time.
Expected behavior
Only one chatgpt-shell buffer should be created on the first invocation.
Actual behavior
Two buffers are created after the first invocation. Subsequent invocations correctly create one additional buffer each time.
Additional info
- Setting
chatgpt-shell-always-create-new nil results in only one buffer as expected.
Let me know if you need further details.