branch: externals/flymake-proselint
commit 36b575c4db4ab9e27dae5a08955a6d1237ac1add
Author: Manuel Uberti <[email protected]>
Commit: Manuel Uberti <[email protected]>
Use source instead of process buffer
---
flymake-proselint.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flymake-proselint.el b/flymake-proselint.el
index 113b1b3a1a..860f58628a 100644
--- a/flymake-proselint.el
+++ b/flymake-proselint.el
@@ -287,7 +287,7 @@ Flymake diagnostic objects."
"Sentinel on PROC for handling Proselint response.
A successfully parsed message is passed onto the function
`flymake-proselint-sentinel-1' for further handling."
- (let ((buffer (process-buffer proc)))
+ (let ((buffer (process-get proc 'source)))
(when (buffer-live-p buffer)
(pcase (process-status proc)
('exit