From 3996597b44286d73bcb239a97895117c1a0b288c Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Mon, 29 Apr 2013 11:07:58 +0300 Subject: [PATCH] Fix a typo --- modules/prelude-emacs-lisp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/prelude-emacs-lisp.el b/modules/prelude-emacs-lisp.el index 5c02286..202de20 100644 --- a/modules/prelude-emacs-lisp.el +++ b/modules/prelude-emacs-lisp.el @@ -54,7 +54,7 @@ Start `ielm' if it's not already running." (defun prelude-conditional-emacs-lisp-checker () "Don't check doc style in Emacs Lisp test files." (let ((file-name (buffer-file-name))) - (when (and (file-name) (string-match-p ".*-tests?\\.el\\'" file-name)) + (when (and file-name (string-match-p ".*-tests?\\.el\\'" file-name)) (setq-local flycheck-checkers '(emacs-lisp))))) (defun prelude-emacs-lisp-mode-defaults ()