]> code.delx.au - gnu-emacs/commitdiff
* lisp/autoinsert.el (auto-insert-alist): Fix readability
authorJuri Linkov <juri@jurta.org>
Fri, 2 Jul 2010 22:35:09 +0000 (01:35 +0300)
committerJuri Linkov <juri@jurta.org>
Fri, 2 Jul 2010 22:35:09 +0000 (01:35 +0300)
by using dotted pair notation for lambda.

lisp/ChangeLog
lisp/autoinsert.el

index de4671ec50971ccf7b4b78ced8dfc2fc2add5f0a..98ea609aa827b4bea8c14fb834ab25bebae07bee 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-02  Juri Linkov  <juri@jurta.org>
+
+       * autoinsert.el (auto-insert-alist): Fix readability
+       by using dotted pair notation for lambda.
+
 2010-07-02  Juri Linkov  <juri@jurta.org>
 
        * faces.el (read-face-name): Rename arg `string-describing-default'
index b3a594d31d41ceec4d28cec3d418e0520dbe0722..9a8001875e0bc65b941815540cfe6793155606a8 100644 (file)
@@ -126,10 +126,10 @@ If this contains a %s, that will be replaced by the matching rule."
      _ "\n\\begin{document}\n" _
      "\n\\end{document}")
 
-    (("/bin/.*[^/]\\'" . "Shell-Script mode magic number")
-     lambda ()
+    (("/bin/.*[^/]\\'" . "Shell-Script mode magic number") .
+     (lambda ()
        (if (eq major-mode (default-value 'major-mode))
-        (sh-mode)))
+          (sh-mode))))
 
     (ada-mode . ada-header)