summaryrefslogtreecommitdiffstats
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.org10
1 files changed, 9 insertions, 1 deletions
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:<kbd>$1</kbd>@@@@ascii:`$1'@@
#+HTML_HEAD: <link href="https://ryuslash.org/org.css" rel="stylesheet" type="text/css">
+* 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)