branch: elpa/aidermacs
commit fcdbd6c5845c0dfe5a7ddd753598e26e8c508bd3
Author: Romain Ouabdelkader <romain.ouabdelka...@voodoo.io>
Commit: Matthew Zeng <matthew...@gmail.com>

    fix default chat mode: defaults to 'code
---
 aidermacs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aidermacs.el b/aidermacs.el
index 1ef019484b..22152d7698 100644
--- a/aidermacs.el
+++ b/aidermacs.el
@@ -369,7 +369,7 @@ set `aidermacs-default-chat-mode' to 'architect' instead."
          (aider-version (aidermacs-aider-version))
 
          ;; New code: determine startup mode and warnings
-         (startup-mode aidermacs-default-chat-mode)
+         (startup-mode (or aidermacs-default-chat-mode 'code))
          (needs-chat-flag (and startup-mode (not (eq startup-mode 'code))))
          (architect? (eq startup-mode 'architect)))
     (let* ((backend-args

Reply via email to