diff options
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/autoinsert.el | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7bdd21bc3e4..d0c53d4d023 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-07-05 Leo Liu <sdl.web@gmail.com> + + * autoinsert.el (auto-insert-alist): Default to lexical-binding. + 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> * frame.el (display-pixel-height, display-pixel-width) diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el index c45d64e1cd9..daa654889b6 100644 --- a/lisp/autoinsert.el +++ b/lisp/autoinsert.el @@ -164,7 +164,10 @@ If this contains a %s, that will be replaced by the matching rule." (("\\.el\\'" . "Emacs Lisp header") "Short description: " - ";;; " (file-name-nondirectory (buffer-file-name)) " --- " str " + ";;; " (file-name-nondirectory (buffer-file-name)) " --- " str + (make-string (max 2 (- 80 (current-column) 27)) ?\s) + "-*- lexical-binding: t; -*-" + " ;; Copyright (C) " (format-time-string "%Y") " " (getenv "ORGANIZATION") | (progn user-full-name) " |