diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-06-06 15:32:03 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-06-06 15:32:03 +0200 |
commit | 4c2ba16500dd86e70bc1bd4845292f0094f5ce2f (patch) | |
tree | 7fc05a8ad74fdd3e034196a1bac8b146808a54b3 | |
parent | 5f12e288a51eb70e7d38a111d610cb09dfe04332 (diff) | |
download | emacs-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.el | 2 |
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 |