lang/emacs-lisp: refactor
This commit is contained in:
parent
f053980e85
commit
7bdf7e4ecb
1 changed files with 6 additions and 5 deletions
|
@ -1,11 +1,11 @@
|
|||
;;; lang/emacs-lisp/config.el
|
||||
(provide '+emacs-lisp)
|
||||
|
||||
(associate! emacs-lisp-mode :match "/Cask$")
|
||||
(use-package! elisp-mode
|
||||
:mode ("/Cask$" . emacs-lisp-mode)
|
||||
:init
|
||||
(add-hook! emacs-lisp-mode '(highlight-quoted-mode auto-compile-on-save-mode +emacs-lisp|hook))
|
||||
|
||||
(after! elisp-mode
|
||||
;; Real go-to-definition for elisp
|
||||
:config
|
||||
(map! :map emacs-lisp-mode-map
|
||||
:m "gd" '+emacs-lisp/find-function
|
||||
:leader :m "gd" '+emacs-lisp/find-function-other-window)
|
||||
|
@ -36,6 +36,7 @@
|
|||
("Spaceline Segment" "\\(^\\s-*(spaceline-define-segment +\\)\\(\\_<.+\\_>\\)" 2)))
|
||||
(push i imenu-generic-expression))))
|
||||
|
||||
|
||||
(after! debug ;; elisp debugging
|
||||
(map! :map debugger-mode-map
|
||||
:n "RET" 'debug-help-follow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue