Permalink
Browse files

flymake ignore funcs

  • Loading branch information...
1 parent c17d4f0 commit 2c1b85106bfa5bb1e4cb593caad687dc934ff455 @tavisrudd committed Sep 1, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 dss-generic-code-tools.el
@@ -2,9 +2,13 @@
(defun dss/lint-ignore ()
(interactive)
(cond ((eq major-mode 'js2-mode)
- (dss/jslint-ignore))
+ (dss/flymake-ignore))
((eq major-mode 'python-mode)
- (call-interactively 'dss/pylint-silence))))
+ (call-interactively 'dss/pylint-silence))
+ (t
+ (call-interactively 'dss/flymake-ignore))))
+
+(define-key global-map (kbd "M-?") 'dss/lint-ignore)
(defun dss/flymake-msgid-at-point ()
(interactive)

0 comments on commit 2c1b851

Please sign in to comment.