From: Lars Ingebrigtsen Date: Mon, 6 Jun 2022 13:32:03 +0000 (+0200) Subject: Improve scheme-mode syntax-rules indentation X-Git-Tag: emacs-29.0.90~1910^2~192 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c2ba16500dd86e70bc1bd4845292f0094f5ce2f;p=emacs.git Improve scheme-mode syntax-rules indentation * lisp/progmodes/scheme.el (syntax-rules): Indent syntax-rules with a parameter better (bug#40869). --- 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