mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Write modules + defuns
This commit is contained in:
16
modules/module-elisp.el
Normal file
16
modules/module-elisp.el
Normal file
@ -0,0 +1,16 @@
|
||||
;;; module-elisp --- all things emacs lisp
|
||||
;; see lib/elisp-defuns.el
|
||||
|
||||
(add-hook! emacs-lisp-mode 'turn-on-eldoc-mode)
|
||||
|
||||
;; [pedantry intensifies]
|
||||
(defadvice emacs-lisp-mode (after emacs-lisp-mode-rename-modeline activate)
|
||||
(setq mode-name "Elisp"))
|
||||
|
||||
;; Real go-to-definition for elisp
|
||||
(bind! :map emacs-lisp-mode-map
|
||||
:m "gd" 'narf/elisp-find-function-at-pt
|
||||
:m "gD" 'narf/elisp-find-function-at-pt-other-window)
|
||||
|
||||
(provide 'module-elisp)
|
||||
;;; module-elisp.el ends here
|
Reference in New Issue
Block a user