Use lexical binding in dotfile template

Lexical binding is easier to reason about and it's generally recommended for new code. It's faster too.

Dynamic scoping can lead to tricky situations. Example: https://emacs.stackexchange.com/questions/10394/scope-in-lambda

This probably won't break existing code. Most people don't even know the default is dynamic binding.
This commit is contained in:
André Peric Tavares 2018-07-15 15:17:14 -03:00 committed by Codruț Constantin Gușoi
parent 0a81d5f4ad
commit e329582f54
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
;; -*- lexical-binding: t -*-
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.