File tree Expand file tree Collapse file tree 2 files changed +0
-38
lines changed Expand file tree Collapse file tree 2 files changed +0
-38
lines changed Original file line number Diff line number Diff line change @@ -44,25 +44,6 @@ This is only for development use."
44
44
:type 'integer
45
45
:group 'lsp-cobol )
46
46
47
- ; ;
48
- ; ;; Util
49
-
50
- (defmacro lsp-cobol--mute-apply (&rest body )
51
- " Execute BODY without message."
52
- (declare (indent 0 ) (debug t ))
53
- `(let (message-log-max )
54
- (with-temp-message (or (current-message ) nil )
55
- (let ((inhibit-message t )) ,@body ))))
56
-
57
- (defun lsp-cobol--execute (cmd &rest args )
58
- " Return non-nil if CMD executed succesfully with ARGS."
59
- (save-window-excursion
60
- (lsp-cobol--mute-apply
61
- (= 0 (shell-command (concat cmd " "
62
- (mapconcat #'shell-quote-argument
63
- (cl-remove-if #'null args)
64
- " " )))))))
65
-
66
47
; ;
67
48
; ;; Installation
68
49
Original file line number Diff line number Diff line change @@ -205,25 +205,6 @@ If `true', replace the text after the cursor."
205
205
:group 'lsp-zig
206
206
:type 'boolean )
207
207
208
- ; ;
209
- ; ;; Util
210
-
211
- (defmacro lsp-zig--mute-apply (&rest body )
212
- " Execute BODY without message."
213
- (declare (indent 0 ) (debug t ))
214
- `(let (message-log-max )
215
- (with-temp-message (or (current-message ) nil )
216
- (let ((inhibit-message t )) ,@body ))))
217
-
218
- (defun lsp-zig--execute (cmd &rest args )
219
- " Return non-nil if CMD executed succesfully with ARGS."
220
- (save-window-excursion
221
- (lsp-zig--mute-apply
222
- (= 0 (shell-command (concat cmd " "
223
- (mapconcat #'shell-quote-argument
224
- (cl-remove-if #'null args)
225
- " " )))))))
226
-
227
208
; ;
228
209
; ;; Installation
229
210
You can’t perform that action at this time.
0 commit comments