diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-05-09 22:51:39 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-05-09 22:51:39 -0400 |
commit | 6dbc95dfdea4c3a633b77783ea8fbcff96d304b7 (patch) | |
tree | d80f682bb2c0679964973cb24dcadee43bf3f9f3 | |
parent | 03ce1754b0e0d9c2e00cdbbc1eee5e255c65891d (diff) | |
download | emacs.d-6dbc95dfdea4c3a633b77783ea8fbcff96d304b7.tar.gz |
scheme: Add 'define-public' to imenu expression
-rw-r--r-- | init.el | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1929,6 +1929,16 @@ :config (define-key geiser-mode-map (kbd "C-.") nil)) +(use-package scheme + :defer + :config + (add-hook 'scheme-mode-hook + (lambda () + (setq imenu-generic-expression + (cons (list nil + "^(define-public\\s-+\\(\\sw+\\)" 1) + imenu-generic-expression))))) + (use-package python :defer t :init |