Skip to content

Commit d1411d9

Browse files
authored
chore: Remove unused functions (#4393)
1 parent 6de1cc7 commit d1411d9

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

clients/lsp-cobol.el

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,6 @@ This is only for development use."
4444
:type 'integer
4545
:group 'lsp-cobol)
4646

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-
6647
;;
6748
;;; Installation
6849

clients/lsp-zig.el

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -205,25 +205,6 @@ If `true', replace the text after the cursor."
205205
:group 'lsp-zig
206206
:type 'boolean)
207207

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-
227208
;;
228209
;;; Installation
229210

0 commit comments

Comments
 (0)