branch: elpa/aidermacs commit da760ca70c1bb81403d68246d9c49fee23423931 Author: Mingde (Matthew) Zeng <matthew...@posteo.net> Commit: Mingde (Matthew) Zeng <matthew...@posteo.net>
Fix linting --- aidermacs-models.el | 2 ++ aidermacs.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/aidermacs-models.el b/aidermacs-models.el index 202f7eb7e9..70d723da80 100644 --- a/aidermacs-models.el +++ b/aidermacs-models.el @@ -25,6 +25,8 @@ (require 'json) (require 'url) +(defvar url-http-end-of-headers) + (declare-function aidermacs--send-command "aidermacs" (command &optional no-switch-to-buffer use-existing redirect callback)) (declare-function aidermacs-buffer-name "aidermacs" ()) (declare-function aidermacs-exit "aidermacs" ()) diff --git a/aidermacs.el b/aidermacs.el index 5ab7fae278..5c9243991a 100644 --- a/aidermacs.el +++ b/aidermacs.el @@ -525,7 +525,7 @@ If CALLBACK is non-nil it will be called after the command finishes." "Switch to the aidermacs buffer. If BUFFER-NAME is provided, switch to that buffer. If not, try to get a buffer using `aidermacs-get-buffer-name`. -If that fails, try to select an existing buffer with `aidermacs-select-buffer-name`. +If that fails, try an existing buffer with `aidermacs-select-buffer-name`. If the buffer is already visible in a window, switch to that window. If the current buffer is already the aidermacs buffer, do nothing." (interactive)