diff options
Diffstat (limited to 'lisp/+compile.el')
-rw-r--r-- | lisp/+compile.el | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lisp/+compile.el b/lisp/+compile.el deleted file mode 100644 index a69db7d..0000000 --- a/lisp/+compile.el +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | ;;; +compile.el --- Extras for compile -*- lexical-binding: t; -*- | ||
2 | |||
3 | ;;; Commentary: | ||
4 | |||
5 | ;;; Code: | ||
6 | |||
7 | (defcustom +compile-function nil | ||
8 | "Function to run to \"compile\" a buffer." | ||
9 | :type 'function | ||
10 | :local t | ||
11 | :risky nil) | ||
12 | |||
13 | (defun +compile-dispatch (&optional arg) | ||
14 | "Run `+compile-function', if bound, or `compile'. | ||
15 | Any prefix ARG is passed to that function." | ||
16 | (interactive "P") | ||
17 | (call-interactively (or +compile-function #'compile))) | ||
18 | |||
19 | (provide '+compile) | ||
20 | ;;; +compile.el ends here | ||