PROPOSED Turn off comments in tangling on per-buffer or per-block basis

  • State "PROPOSED" from "" 2010-04-03 Sat 11:55

To turn off comments in perl tangling the best I came up with was this. What is an easier method?

(setq org-babel-tangle-langs
      (cons '("perl" "pl" "#!/usr/bin/env perl" t)
            (remove-if (lambda (el) (equal (car el) "perl"))
                       org-babel-tangle-langs)))