emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/detached c4451197d3 1/3: Update vterm initialization


From: ELPA Syncer
Subject: [elpa] externals/detached c4451197d3 1/3: Update vterm initialization
Date: Tue, 11 Oct 2022 12:57:30 -0400 (EDT)

branch: externals/detached
commit c4451197d3188001e131d8d68661d51563fbe289
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>

    Update vterm initialization
    
    Add missing with-eval-after-load and remove redundant featurep check.
---
 detached-init.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/detached-init.el b/detached-init.el
index e6d05db0c1..5cbfe792a0 100644
--- a/detached-init.el
+++ b/detached-init.el
@@ -157,7 +157,7 @@
 
 (defun detached-init--vterm ()
   "Initialize integration with `vterm'."
-  (when (featurep 'vterm)
+  (with-eval-after-load 'vterm
     (add-hook 'vterm-mode-hook #'detached-vterm-mode)))
 
 (defun detached-init--embark ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]