File tree Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ ELS = $(PKG).el
66ELCS = $(ELS:.el=.elc )
77
88DEPS = compat
9+ DEPS += vterm
910
1011DOMAIN ?= magit.vc
1112CFRONT_DIST ?= E2LUHBKU1FBV02
Original file line number Diff line number Diff line change 8383(require 'shell )
8484(eval-when-compile (require 'subr-x ))
8585
86- (eval-when-compile
87- (progn (require 'dired nil t )
88- (require 'eshell nil t )
89- (require 'term nil t )
90- (condition-case err
91- (require 'vterm nil t )
92- (error (message " Error(vterm): %S " err)))
93- (require 'warnings nil t )))
94- (declare-function dired-get-filename 'dired )
95- (declare-function term-emulate-terminal 'term )
96- (declare-function vterm-send-return 'vterm )
97- (declare-function vterm-send-string 'vterm )
86+ (declare-function dired-get-filename " dired"
87+ (&optional localp no-error-if-not-filep))
88+ (declare-function term-emulate-terminal " term" (proc str))
89+ (declare-function vterm-send-return " vterm" ())
90+ (declare-function vterm-send-string " vterm" (string &optional paste-p))
9891(defvar eshell-preoutput-filter-functions )
9992(defvar git-commit-post-finish-hook )
10093(defvar vterm--process )
94+ (defvar warning-minimum-level )
95+ (defvar warning-minimum-log-level )
10196
10297; ;; Options
10398
@@ -884,6 +879,7 @@ else like the former."
884879 " Debug configuration issues.
885880See info node `(with-editor)Debugging' for instructions."
886881 (interactive )
882+ (require 'warnings )
887883 (with-current-buffer (get-buffer-create " *with-editor-debug*" )
888884 (pop-to-buffer (current-buffer ))
889885 (erase-buffer )
You can’t perform that action at this time.
0 commit comments