Lisp: Bind f5 and f6 to package-lint-* and async-*compile*
parent
7a9ee14f29
commit
b10bc94e47
|
@ -93,6 +93,12 @@
|
|||
:inherit 'error
|
||||
:strike-through t))
|
||||
|
||||
;; Emacs Lisp
|
||||
(ambrevar/define-keys emacs-lisp-mode-map
|
||||
"<f5>" 'package-lint-current-buffer
|
||||
;; Do not use `recompile' since we want to change the compilation folder for the current buffer.
|
||||
"<f6>" (lambda () (interactive) (async-byte-recompile-directory (file-name-directory (buffer-file-name)))))
|
||||
|
||||
;;; Common LISP.
|
||||
(setq inferior-lisp-program "sbcl --noinform")
|
||||
;; (add-hook 'slime-mode-hook
|
||||
|
|
Loading…
Reference in New Issue