module-elisp.el => module-lisp.el
This commit is contained in:
parent
9034993ccb
commit
0897e5e34b
4 changed files with 27 additions and 20 deletions
3
Cask
3
Cask
|
@ -122,6 +122,9 @@
|
|||
(depends-on "yaml-mode" :git "https://github.com/antalk2/yaml-mode")
|
||||
(depends-on "toml-mode")
|
||||
|
||||
;; Lisp -- modules/module-lisp.el
|
||||
(depends-on "slime")
|
||||
|
||||
;; Golang -- modules/module-go.el
|
||||
(depends-on "go-mode")
|
||||
(depends-on "go-eldoc")
|
||||
|
|
2
init.el
2
init.el
|
@ -78,7 +78,7 @@
|
|||
module-csharp ; unity, .NET, and mono shenanigans
|
||||
module-collab ; wonewy, I'm so wonewy~
|
||||
module-data ; dbs 'n data formats
|
||||
module-elisp ; drowning in parentheses
|
||||
module-lisp ; drowning in parentheses
|
||||
module-go ; a hipster dialect
|
||||
module-java ; the poster child for carpal tunnel syndome
|
||||
module-js ; all(hope(abandon(ye(who(enter(here))))))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
;;; defuns-elisp.el
|
||||
;;; defuns-lisp.el
|
||||
|
||||
;;;###autoload
|
||||
(defun narf/elisp-find-function-at-pt ()
|
||||
|
@ -12,5 +12,5 @@
|
|||
(let ((func (function-called-at-point)))
|
||||
(if func (find-function-other-window func))))
|
||||
|
||||
(provide 'defuns-elisp)
|
||||
;;; defuns-elisp.el ends here
|
||||
(provide 'defuns-lisp)
|
||||
;;; defuns-lisp.el ends here
|
|
@ -1,4 +1,4 @@
|
|||
;;; module-elisp --- all things emacs lisp
|
||||
;;; module-lisp --- all things lisp
|
||||
;; see lib/elisp-defuns.el
|
||||
|
||||
(add-hook! emacs-lisp-mode 'turn-on-eldoc-mode)
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
(add-to-list 'imenu-generic-expression
|
||||
'("Package"
|
||||
"\\(^\\s-*(use-package +\\)\\(\\_<.+\\_>\\)" 2)))
|
||||
"\\(^\\s-*(use-package +\\)\\(\\_<.+\\_>\\)" 2))
|
||||
|
||||
;; Highlight extra NARF keywords
|
||||
(let ((keywords '("add-hook!"
|
||||
|
@ -32,7 +32,7 @@
|
|||
)))
|
||||
(font-lock-add-keywords 'emacs-lisp-mode
|
||||
`((,(concat "(\\s-*" (regexp-opt keywords 'paren) "\\_>")
|
||||
1 font-lock-keyword-face)) 'append))
|
||||
1 font-lock-keyword-face)) 'append)))
|
||||
|
||||
(font-lock-add-keywords
|
||||
'emacs-lisp-mode `(("\\(lambda\\)" (0 (narf/show-as ?λ)))))
|
||||
|
@ -42,5 +42,9 @@
|
|||
:m "gd" 'narf/elisp-find-function-at-pt
|
||||
:m "gD" 'narf/elisp-find-function-at-pt-other-window)
|
||||
|
||||
(provide 'module-elisp)
|
||||
(use-package slime :defer t
|
||||
:config
|
||||
(setq inferior-lisp-program "clisp"))
|
||||
|
||||
(provide 'module-lisp)
|
||||
;;; module-elisp.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue