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

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

[nongnu] elpa/with-editor 6735180 128/140: Suppress error if vterm modul


From: Jonas Bernoulli
Subject: [nongnu] elpa/with-editor 6735180 128/140: Suppress error if vterm module cannot be build
Date: Fri, 6 Aug 2021 12:51:34 -0400 (EDT)

branch: elpa/with-editor
commit 6735180e73e787b79535c245b162249b70dbf841
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Suppress error if vterm module cannot be build
    
    Closes #85.
---
 with-editor.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/with-editor.el b/with-editor.el
index c59db8b..12fabcb 100644
--- a/with-editor.el
+++ b/with-editor.el
@@ -99,6 +99,9 @@
   (progn (require 'dired nil t)
          (require 'eshell nil t)
          (require 'term nil t)
+         (condition-case err
+             (require 'vterm nil t)
+           (error (message "Error: %S" err)))
          (require 'vterm nil t)
          (require 'warnings nil t)))
 (declare-function dired-get-filename 'dired)



reply via email to

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