aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/progmodes/scheme.el7
2 files changed, 13 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2605247244a..783cd2d864b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
2
3 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4 Add export, import, library. (Bug#9164)
5 (library): Set indent function.
6
12013-06-14 Glenn Morris <rgm@gnu.org> 72013-06-14 Glenn Morris <rgm@gnu.org>
2 8
3 * term/xterm.el (xterm--query): 9 * term/xterm.el (xterm--query):
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index fab20102097..fda7d6b6852 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -312,6 +312,8 @@ See `run-hooks'."
312 "call-with-input-file" "call-with-output-file" "case" "cond" 312 "call-with-input-file" "call-with-output-file" "case" "cond"
313 "do" "else" "for-each" "if" "lambda" "λ" 313 "do" "else" "for-each" "if" "lambda" "λ"
314 "let" "let*" "let-syntax" "letrec" "letrec-syntax" 314 "let" "let*" "let-syntax" "letrec" "letrec-syntax"
315 ;; R6RS library subforms.
316 "export" "import"
315 ;; SRFI 11 usage comes up often enough. 317 ;; SRFI 11 usage comes up often enough.
316 "let-values" "let*-values" 318 "let-values" "let*-values"
317 ;; Hannes Haug <hannes.haug@student.uni-tuebingen.de> wants: 319 ;; Hannes Haug <hannes.haug@student.uni-tuebingen.de> wants:
@@ -330,6 +332,10 @@ See `run-hooks'."
330 ;; 332 ;;
331 ;; Scheme `:' and `#:' keywords as builtins. 333 ;; Scheme `:' and `#:' keywords as builtins.
332 '("\\<#?:\\sw+\\>" . font-lock-builtin-face) 334 '("\\<#?:\\sw+\\>" . font-lock-builtin-face)
335 ;; R6RS library declarations.
336 '("(\\(\\<library\\>\\)\\s-*(?\\(\\sw+\\)?"
337 (1 font-lock-keyword-face)
338 (2 font-lock-type-face))
333 ))) 339 )))
334 "Gaudy expressions to highlight in Scheme modes.") 340 "Gaudy expressions to highlight in Scheme modes.")
335 341
@@ -536,6 +542,7 @@ indentation."
536(put 'letrec-syntax 'scheme-indent-function 1) 542(put 'letrec-syntax 'scheme-indent-function 1)
537(put 'syntax-rules 'scheme-indent-function 1) 543(put 'syntax-rules 'scheme-indent-function 1)
538(put 'syntax-case 'scheme-indent-function 2) ; not r5rs 544(put 'syntax-case 'scheme-indent-function 2) ; not r5rs
545(put 'library 'scheme-indent-function 1) ; R6RS
539 546
540(put 'call-with-input-file 'scheme-indent-function 1) 547(put 'call-with-input-file 'scheme-indent-function 1)
541(put 'with-input-from-file 'scheme-indent-function 1) 548(put 'with-input-from-file 'scheme-indent-function 1)