@@ -168,9 +168,9 @@ STDIN, STDOUT, and STDERR are buffers for the standard streams;
168
168
only STDERR may be nil. CALLBACK is called in the case of
169
169
success; it is called with a single argument, STDOUT. On
170
170
failure, a buffer containing the error output is displayed."
171
- (cl-check-type stdin buffer-live )
172
- (cl-check-type stdout buffer-live )
173
- (cl-check-type stderr (or null buffer-live ))
171
+ (cl-check-type stdin buffer)
172
+ (cl-check-type stdout buffer)
173
+ (cl-check-type stderr (or null buffer))
174
174
(cl-check-type callback function)
175
175
(lambda (process event )
176
176
(cl-check-type process process)
@@ -192,7 +192,7 @@ failure, a buffer containing the error output is displayed."
192
192
193
193
(defun clang-include-fixer--replace-buffer (stdout )
194
194
" Replace current buffer by content of STDOUT."
195
- (cl-check-type stdout buffer-live )
195
+ (cl-check-type stdout buffer)
196
196
(barf-if-buffer-read-only )
197
197
(cond ((fboundp 'replace-buffer-contents ) (replace-buffer-contents stdout))
198
198
((clang-include-fixer--insert-line stdout (current-buffer )))
@@ -207,8 +207,8 @@ equal, do nothing and return non-nil. If FROM contains a single
207
207
line missing from TO, insert that line into TO so that the buffer
208
208
contents are equal and return non-nil. Otherwise, do nothing and
209
209
return nil. Buffer restrictions are ignored."
210
- (cl-check-type from buffer-live )
211
- (cl-check-type to buffer-live )
210
+ (cl-check-type from buffer)
211
+ (cl-check-type to buffer)
212
212
(with-current-buffer from
213
213
(save-excursion
214
214
(save-restriction
0 commit comments