Write modules + defuns

This commit is contained in:
Henrik Lissner 2015-06-15 09:06:10 +02:00
parent b998f4ab08
commit 3472a1631f
31 changed files with 1418 additions and 32 deletions

16
modules/module-elisp.el Normal file
View 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