1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00

(scheme-font-lock-keywords-2): Add SRFI 11 support.

(let-values, let*-values): Specify scheme-indent-function.
This commit is contained in:
Thien-Thi Nguyen 2008-02-22 11:12:09 +00:00
parent 9c61c73445
commit 12cf1a12ab
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
* progmodes/scheme.el (scheme-font-lock-keywords-2):
Add SRFI 11 support.
(let-values, let*-values): Specify scheme-indent-function.
2008-02-22 Andreas Schwab <schwab@suse.de>
* progmodes/verilog-mode.el (verilog-xemacs-menu): Fix setup of

View File

@ -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)