summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.el b/init.el index 201dab9..11b84b0 100644 --- a/init.el +++ b/init.el
@@ -189,6 +189,12 @@
189 (defun emacs-lisp@enforce-lexical-binding () 189 (defun emacs-lisp@enforce-lexical-binding ()
190 (setq lexical-binding t))) 190 (setq lexical-binding t)))
191 191
192 (add-hook 'emacs-lisp-mode-hook
193 (defun emacs-lisp@imenu-add-setup ()
194 (add-to-list 'imenu-generic-expression
195 '("Setup"
196 "\\(^\\s-*(setup +(?\\)\\(\\_<.+\\_>\\)" 2))))
197
192 (defun acdw/eval-region-or-buffer () 198 (defun acdw/eval-region-or-buffer ()
193 (interactive) 199 (interactive)
194 (if (region-active-p) 200 (if (region-active-p)