diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2008-02-22 11:12:09 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2008-02-22 11:12:09 +0000 |
commit | 12cf1a12ab90c263557d5700de4827187fba5bff (patch) | |
tree | b0226975a6c6b8cb6e4decfd0ccbf0b8036b5c58 /lisp/progmodes/scheme.el | |
parent | 9c61c734457953cdf70dfc1f2e3fb5c85a253d2c (diff) | |
download | emacs-12cf1a12ab90c263557d5700de4827187fba5bff.tar.gz |
(scheme-font-lock-keywords-2): Add SRFI 11 support.
(let-values, let*-values): Specify scheme-indent-function.
Diffstat (limited to 'lisp/progmodes/scheme.el')
-rw-r--r-- | lisp/progmodes/scheme.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el index c427eddf871..61985a00efa 100644 --- a/lisp/progmodes/scheme.el +++ b/lisp/progmodes/scheme.el @@ -334,6 +334,8 @@ See `run-hooks'." "call-with-input-file" "call-with-output-file" "case" "cond" "do" "else" "for-each" "if" "lambda" "let" "let*" "let-syntax" "letrec" "letrec-syntax" + ;; SRFI 11 usage comes up often enough. + "let-values" "let*-values" ;; Hannes Haug <hannes.haug@student.uni-tuebingen.de> wants: "and" "or" "delay" "force" ;; Stefan Monnier <stefan.monnier@epfl.ch> says don't bother: @@ -541,6 +543,8 @@ that variable's value is a string." (put 'let 'scheme-indent-function 'scheme-let-indent) (put 'let* 'scheme-indent-function 1) (put 'letrec 'scheme-indent-function 1) +(put 'let-values 'scheme-indent-function 1) ; SRFI 11 +(put 'let*-values 'scheme-indent-function 1) ; SRFI 11 (put 'sequence 'scheme-indent-function 0) ; SICP, not r4rs (put 'let-syntax 'scheme-indent-function 1) (put 'letrec-syntax 'scheme-indent-function 1) |