Sfoglia il codice sorgente

default to :padline no for Haskell

   Whitespace is significant in Haskell code so this could change
   program semantics.

* lisp/ob-haskell.el (org-babel-default-header-args:haskell): set
  :padlines to "no" by default.
Eric Schulte 11 anni fa
parent
commit
da53190a85
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      lisp/ob-haskell.el

+ 2 - 1
lisp/ob-haskell.el

@@ -52,7 +52,8 @@
 (defvar org-babel-tangle-lang-exts)
 (add-to-list 'org-babel-tangle-lang-exts '("haskell" . "hs"))
 
-(defvar org-babel-default-header-args:haskell '())
+(defvar org-babel-default-header-args:haskell
+  '((:padlines . "no")))
 
 (defvar org-babel-haskell-lhs2tex-command "lhs2tex")