From b8b6e1685db72fc1c3b6a031c5ec64b54ae0f1a1 Mon Sep 17 00:00:00 2001
From: Tom Willemse
Date: Sat, 19 Apr 2014 22:35:31 +0200
Subject: Use lexical binding in org-generated init
---
.emacs.d/init.org | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index 2cd3696..d49ce55 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -5,6 +5,14 @@
#+MACRO: key @@html:$1@@@@ascii:`$1'@@
#+HTML_HEAD:
+* Use lexical binding
+
+ For some of these functions lexical binding is a must.
+
+ #+BEGIN_SRC emacs-lisp :padline no
+ ;; -*- lexical-binding: t -*-
+ #+END_SRC
+
* Cleanup basic UI
The tool-bar, menu-bar and scroll-bar aren't particularly
@@ -13,7 +21,7 @@
with {{{key(M-x)}}}. The scroll-bar is almost just as informative as
the current line number and buffer position information.
- #+BEGIN_SRC emacs-lisp :padline no
+ #+BEGIN_SRC emacs-lisp
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
--
cgit v1.3-2-g0d8e