Skip to content

Invoking chatgpt-shell opens two buffers on first call instead of one #391

@alej0varas

Description

@alej0varas

Steps to reproduce

  1. Set (setq chatgpt-shell-always-create-new t) in your configuration.
  2. In a new Emacs instance ensuring no chatgpt-shell buffers exist.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions