Commit a6ed0e28 authored by Juri Linkov's avatar Juri Linkov

* lisp/autoinsert.el (auto-insert-alist): Fix readability

by using dotted pair notation for lambda.
parent c91e692b
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'
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment