Lisp: Bind f5 and f6 to package-lint-* and async-*compile*

master
Pierre Neidhardt 2018-07-10 12:00:06 +02:00
parent 7a9ee14f29
commit b10bc94e47
1 changed files with 6 additions and 0 deletions

View File

@ -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