From 46d31840e901bd65e4618d7bf687d7caba4dd070 Mon Sep 17 00:00:00 2001 From: Abizer Nasir Date: Mon, 31 Mar 2014 15:18:59 +0100 Subject: [PATCH] Open files with .cl extension in lisp-mode I'm surprised that this isn't already the case. Although most people use the .lisp extension, some do use .cl --- modules/prelude-common-lisp.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/prelude-common-lisp.el b/modules/prelude-common-lisp.el index 2aa98fb..2a199fa 100644 --- a/modules/prelude-common-lisp.el +++ b/modules/prelude-common-lisp.el @@ -37,6 +37,9 @@ ;; the SBCL configuration file is in Common Lisp (add-to-list 'auto-mode-alist '("\\.sbclrc$" . lisp-mode)) +;; Open files with .cl extension in lisp-mode +(add-to-list 'auto-mode-alist '("\\.cl\\'" . lisp-mode)) + ;; Common Lisp support depends on SLIME being installed with Quicklisp (if (file-exists-p (expand-file-name "~/quicklisp/slime-helper.el")) (load (expand-file-name "~/quicklisp/slime-helper.el"))