aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntero Mejr2025-01-18 22:35:39 -0500
committerStefan Kangas2025-02-06 02:02:45 +0100
commitd10acd16c90afe9fc8534fcd174397b7c403eda9 (patch)
tree3a52c9a85b01c92f5469477fbd3b61c8e41a9261
parent4be087f1e12afb2ea4de1a5686d14a28a9a20940 (diff)
downloademacs-d10acd16c90afe9fc8534fcd174397b7c403eda9.tar.gz
emacs-d10acd16c90afe9fc8534fcd174397b7c403eda9.zip
Add scheme-mode indentation for SRFI 64, R7RS guard
* lisp/progmodes/scheme.el: Add properties for SRFI 64 and R7RS guard identifiers. (Bug#75999)
-rw-r--r--lisp/progmodes/scheme.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index 8896c2547c8..6fa92164f43 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -681,10 +681,15 @@ indentation."
681(put 'define-values 'scheme-indent-function 1) 681(put 'define-values 'scheme-indent-function 1)
682(put 'define-record-type 'scheme-indent-function 1) ;; is 1 correct? 682(put 'define-record-type 'scheme-indent-function 1) ;; is 1 correct?
683(put 'define-library 'scheme-indent-function 1) 683(put 'define-library 'scheme-indent-function 1)
684(put 'guard 'scheme-indent-function 1)
684 685
685;; SRFI-8 686;; SRFI-8
686(put 'receive 'scheme-indent-function 2) 687(put 'receive 'scheme-indent-function 2)
687 688
689;; SRFI 64
690(put 'test-group 'scheme-indent-function 1)
691(put 'test-group-with-cleanup 'scheme-indent-function 1)
692
688;; SRFI-204 (withdrawn, but provided in many implementations, see the SRFI text) 693;; SRFI-204 (withdrawn, but provided in many implementations, see the SRFI text)
689(put 'match 'scheme-indent-function 1) 694(put 'match 'scheme-indent-function 1)
690(put 'match-lambda 'scheme-indent-function 0) 695(put 'match-lambda 'scheme-indent-function 0)