From b10bc94e476a92aec9d40bc0ffa3a4e84f9bcc0c Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 10 Jul 2018 12:00:06 +0200 Subject: [PATCH] Lisp: Bind f5 and f6 to package-lint-* and async-*compile* --- .emacs.d/lisp/init-lisp.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.emacs.d/lisp/init-lisp.el b/.emacs.d/lisp/init-lisp.el index df9c73b9..879c6cc0 100644 --- a/.emacs.d/lisp/init-lisp.el +++ b/.emacs.d/lisp/init-lisp.el @@ -93,6 +93,12 @@ :inherit 'error :strike-through t)) +;; Emacs Lisp +(ambrevar/define-keys emacs-lisp-mode-map + "" 'package-lint-current-buffer + ;; Do not use `recompile' since we want to change the compilation folder for the current buffer. + "" (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