Fix a typo

This commit is contained in:
Bozhidar Batsov 2013-04-29 11:07:58 +03:00
parent 0f9bff7c71
commit 3996597b44

View file

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