summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-06-06 15:32:03 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-06-06 15:32:03 +0200
commit4c2ba16500dd86e70bc1bd4845292f0094f5ce2f (patch)
tree7fc05a8ad74fdd3e034196a1bac8b146808a54b3
parent5f12e288a51eb70e7d38a111d610cb09dfe04332 (diff)
downloademacs-4c2ba16500dd86e70bc1bd4845292f0094f5ce2f.tar.gz
Improve scheme-mode syntax-rules indentation
* lisp/progmodes/scheme.el (syntax-rules): Indent syntax-rules with a parameter better (bug#40869).
-rw-r--r--lisp/progmodes/scheme.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index cf1d3949835..9b24c2155dc 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -587,7 +587,7 @@ indentation."
(put 'sequence 'scheme-indent-function 0) ; SICP, not r4rs
(put 'let-syntax 'scheme-indent-function 1)
(put 'letrec-syntax 'scheme-indent-function 1)
-(put 'syntax-rules 'scheme-indent-function 1)
+(put 'syntax-rules 'scheme-indent-function 'defun)
(put 'syntax-case 'scheme-indent-function 2) ; not r5rs
(put 'with-syntax 'scheme-indent-function 1)
(put 'library 'scheme-indent-function 1) ; R6RS