branch: externals/a68-mode
commit 548690f72357e33244f149a7780304eb187cb5f6
Author: Jose E. Marchesi <[email protected]>
Commit: Jose E. Marchesi <[email protected]>
Define comment-start-skip
This fixes infinite recursion in smie-indent-comment.
---
a68-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/a68-mode.el b/a68-mode.el
index 3f69243b41..4496cb6a93 100644
--- a/a68-mode.el
+++ b/a68-mode.el
@@ -1210,6 +1210,7 @@ UPPER stropping version."
:backward-token #'a68--smie-backward-token-upper)
(setq-local beginning-of-defun-function #'a68-beginning-of-defun-upper)
(setq-local syntax-propertize-function
#'a68-syntax-propertize-function-upper)))
+ (setq-local comment-start-skip "\\(#\\) *")
(add-hook 'syntax-propertize-extend-region-functions
#'syntax-propertize-multiline 'append 'local))