|
1 | 1 | ;;; flymake-csslint.el --- making flymake work with CSSLint |
2 | 2 |
|
3 | 3 | ;; Copyright (C) 2011 Wilfred Hughes <me@wilfred.me.uk> |
4 | | -;; Copyright (C) 2011 Arne J,Ax(Brgensen <arne@arnested.dk> |
| 4 | +;; Copyright (C) 2011 Arne Jørgensen <arne@arnested.dk> |
5 | 5 |
|
6 | | -;; Author: Arne J,Ax(Brgensen <arne@arnested.dk> |
| 6 | +;; Author: Arne Jørgensen <arne@arnested.dk> |
| 7 | +;; URL: https://github.com/arnested/flymake-csslint |
7 | 8 | ;; Created: 1 December 2011 |
8 | | -;; Version: 1.0 |
| 9 | +;; Version: 1.0.1 |
| 10 | +;; Package-Requires: ((flymake "0.3")) |
9 | 11 | ;; Keywords: flymake, csslint, css |
10 | 12 |
|
11 | 13 | ;; This file is not part of GNU Emacs. |
|
26 | 28 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
27 | 29 | ;; Boston, MA 02110-1301, USA. |
28 | 30 |
|
29 | | -;;; Commentary |
| 31 | +;;; Commentary: |
30 | 32 |
|
31 | 33 | ;; To use CSSLint with emacs, you will need CSSLint installed and available on |
32 | 34 | ;; your path. You should be able to do |
|
43 | 45 | ;; flymake-csslint.el is very much based on flymake-jshint.el by |
44 | 46 | ;; Wilfred Hughes <me@wilfred.me.uk>. |
45 | 47 |
|
46 | | -;;; Usage |
| 48 | +;;; Usage: |
47 | 49 |
|
48 | 50 | ;; Add to your emacs config: |
49 | 51 |
|
|
55 | 57 |
|
56 | 58 | ;; (add-to-list 'load-path "~/.emacs.d/path/to/flymake-csslint.el") |
57 | 59 |
|
58 | | -;;; Debugging |
| 60 | +;;; Debugging: |
59 | 61 |
|
60 | 62 | ;; If CSSLint isn't working for any reason, execute |
61 | 63 |
|
|
64 | 66 | ;; and you will see what is going wrong listed in the *Messages* |
65 | 67 | ;; buffer. |
66 | 68 |
|
| 69 | +;;; Code: |
| 70 | + |
67 | 71 | (require 'flymake) |
68 | 72 |
|
69 | 73 | (defun flymake-csslint-init () |
|
89 | 93 | ; load flymake automatically in CSS mode |
90 | 94 | (add-hook 'css-mode-hook 'flymake-mode) |
91 | 95 |
|
| 96 | + |
| 97 | + |
92 | 98 | (provide 'flymake-csslint) |
93 | 99 |
|
94 | | -;;; flymake-csslint.el ends herep |
| 100 | +;; Local Variables: |
| 101 | +;; coding: utf-8 |
| 102 | +;; End: |
| 103 | + |
| 104 | +;;; flymake-csslint.el ends here |
0 commit comments