branch: elpa/aidermacs commit 9feca8d5e169abdc9a7fafda966ad73da78baf71 Author: Brian McGillion <bmg.av...@gmail.com> Commit: Matthew Zeng <matthew...@gmail.com>
backends: Adjust the backends for lazy-load vterm Fixes: #135 The detection of whether vterm is present during init or not, before making the functionality to load vterm is somewhat of a chicken-egg. This change allows the vterm backend to be referenced during init. However, loading of the vterm is still on demand based on the users configuration. Full details are in the GH issue. Signed-off-by: Brian McGillion <bmg.av...@gmail.com> --- aidermacs-backends.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aidermacs-backends.el b/aidermacs-backends.el index a47b3f38f9..07475c7a5e 100644 --- a/aidermacs-backends.el +++ b/aidermacs-backends.el @@ -21,8 +21,7 @@ ;;; Code: (require 'aidermacs-backend-comint) -(when (commandp 'vterm) - (require 'aidermacs-backend-vterm)) +(require 'aidermacs-backend-vterm) (declare-function aidermacs-run-vterm "aidermacs-backend-vterm") (declare-function aidermacs--send-command-vterm "aidermacs-backend-vterm")