aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu2013-03-16 23:24:39 +0800
committerLeo Liu2013-03-16 23:24:39 +0800
commit67ed8fcd04edeff2d4931acf476e7067c5ceeef2 (patch)
tree790efa64de2ba24e5b7720c159af5f3ec93e6e77
parentefe8bf5d9bd5ec99867abe624ddb055236a882f4 (diff)
downloademacs-67ed8fcd04edeff2d4931acf476e7067c5ceeef2.tar.gz
emacs-67ed8fcd04edeff2d4931acf476e7067c5ceeef2.zip
* progmodes/scheme.el: Add indentation and font-locking for λ.
Fixes: debbugs:13975
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/scheme.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 71460a3d7a7..8102cb56a97 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-03-16 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/scheme.el: Add indentation and font-locking for λ.
4 (Bug#13975)
5
12013-03-14 Stefan Monnier <monnier@iro.umontreal.ca> 62013-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no 8 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index a7dbc411622..01f0988f08f 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -310,7 +310,7 @@ See `run-hooks'."
310 "(" (regexp-opt 310 "(" (regexp-opt
311 '("begin" "call-with-current-continuation" "call/cc" 311 '("begin" "call-with-current-continuation" "call/cc"
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 ;; SRFI 11 usage comes up often enough. 315 ;; SRFI 11 usage comes up often enough.
316 "let-values" "let*-values" 316 "let-values" "let*-values"
@@ -410,6 +410,7 @@ that variable's value is a string."
410(put 'make 'scheme-indent-function 1) 410(put 'make 'scheme-indent-function 1)
411(put 'style 'scheme-indent-function 1) 411(put 'style 'scheme-indent-function 1)
412(put 'root 'scheme-indent-function 1) 412(put 'root 'scheme-indent-function 1)
413(put 'λ 'scheme-indent-function 1)
413 414
414(defvar dsssl-font-lock-keywords 415(defvar dsssl-font-lock-keywords
415 (eval-when-compile 416 (eval-when-compile