branch: externals/matlab-mode
commit 22ee71d2118ff3c62b5e1870d5ce277d5317ee49
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
matlab-ts-parse-errors-mode: minor code cleanup
---
matlab-ts-mode.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/matlab-ts-mode.el b/matlab-ts-mode.el
index 97d340e66e..4968c7113b 100644
--- a/matlab-ts-mode.el
+++ b/matlab-ts-mode.el
@@ -3689,8 +3689,7 @@ provided."
;; so the mode line indicator, "matlab-ts-parse-errors" is slightly shorter
(define-compilation-mode matlab-ts-parse-errors-mode "m-ts-parse-errors"
- "The variant of `compilation-mode' used for
`matlab-ts-view-parse-errors'."
- (setq-local
matlab-ts-parse-errors-compilation--current-buffer (current-buffer)))
+ "Variant of `compilation-mode' used for
`matlab-ts-view-parse-errors'.")
(defun matlab-ts-view-parse-errors (&optional no-pop-to-buffer)
"View parse errors in matlab-ts-mode current buffer.