From 082532f2b4f78c7f682a2baec17b64b257f0d5b2 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 20 Apr 2020 18:21:24 +0200 Subject: emacs: enable lexical binding for the resulting init file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .emacs.d/init.org | 2 ++ 1 file changed, 2 insertions(+) (limited to '.emacs.d/init.org') diff --git a/.emacs.d/init.org b/.emacs.d/init.org index edd79f2..15ebed6 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -45,6 +45,8 @@ Moreover, in order to avoid manually tangling and compiling the =init.org= file on each change, the following function is provided: #+BEGIN_SRC elisp +;;; init.el -*- lexical-binding: t; -*- + (defun tangle-init () "If the current buffer is 'init.org' the code-blocks are tangled, and the tangled file is compiled. Morever, an init.html is generated." -- cgit v1.2.3