emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111335: * prog modes/scheme.el: A


From: Leo Liu
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111335: * prog modes/scheme.el: Add indentation and font-locking for λ.
Date: Sat, 16 Mar 2013 23:24:39 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111335
fixes bug: http://debbugs.gnu.org/13975
committer: Leo Liu <address@hidden>
branch nick: emacs-24
timestamp: Sat 2013-03-16 23:24:39 +0800
message:
  * progmodes/scheme.el: Add indentation and font-locking for λ.
modified:
  lisp/ChangeLog
  lisp/progmodes/scheme.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-03-14 14:48:03 +0000
+++ b/lisp/ChangeLog    2013-03-16 15:24:39 +0000
@@ -1,3 +1,8 @@
+2013-03-16  Leo Liu  <address@hidden>
+
+       * progmodes/scheme.el: Add indentation and font-locking for λ.
+       (Bug#13975)
+
 2013-03-14  Stefan Monnier  <address@hidden>
 
        * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no

=== modified file 'lisp/progmodes/scheme.el'
--- a/lisp/progmodes/scheme.el  2013-01-01 09:11:05 +0000
+++ b/lisp/progmodes/scheme.el  2013-03-16 15:24:39 +0000
@@ -310,7 +310,7 @@
        "(" (regexp-opt
             '("begin" "call-with-current-continuation" "call/cc"
               "call-with-input-file" "call-with-output-file" "case" "cond"
-              "do" "else" "for-each" "if" "lambda"
+              "do" "else" "for-each" "if" "lambda" "λ"
               "let" "let*" "let-syntax" "letrec" "letrec-syntax"
               ;; SRFI 11 usage comes up often enough.
               "let-values" "let*-values"
@@ -410,6 +410,7 @@
 (put 'make 'scheme-indent-function 1)
 (put 'style 'scheme-indent-function 1)
 (put 'root 'scheme-indent-function 1)
+(put 'λ 'scheme-indent-function 1)
 
 (defvar dsssl-font-lock-keywords
   (eval-when-compile


reply via email to

[Prev in Thread] Current Thread [Next in Thread]