branch: elpa/aidermacs
commit e4f9b266d95e56be415a0457a2ff14a5ea336983
Author: Mingde (Matthew) Zeng <matthew...@posteo.net>
Commit: Mingde (Matthew) Zeng <matthew...@posteo.net>

    Fix typo
---
 aidermacs-models.el | 4 ++--
 aidermacs.el        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/aidermacs-models.el b/aidermacs-models.el
index a5b19f67be..0f981d4cba 100644
--- a/aidermacs-models.el
+++ b/aidermacs-models.el
@@ -175,8 +175,8 @@ This is useful when available models have changed."
   (interactive)
   (when (and aidermacs--cached-models
              (equal aidermacs--cached-models aidermacs-popular-models)
-             (fboundp 'aidermacs-buffer-name)
-             (get-buffer (aidermacs-buffer-name)))
+             (fboundp 'aidermacs-get-buffer-name)
+             (get-buffer (aidermacs-get-buffer-name)))
     (setq aidermacs--cached-models nil))
 
   (if aidermacs--cached-models
diff --git a/aidermacs.el b/aidermacs.el
index 34df1dc94a..51d739924c 100644
--- a/aidermacs.el
+++ b/aidermacs.el
@@ -478,7 +478,7 @@ Returns a deduplicated list of such file names."
 (defun aidermacs--get-files-in-session (callback)
   "Get list of files in current session and call CALLBACK with the result."
   (aidermacs--send-command
-   "/ls" nil t
+   "/ls" nil nil t
    (lambda ()
      (let ((files (aidermacs--parse-ls-output aidermacs--current-output)))
        (funcall callback files)))))

Reply via email to