Browse Source

Remove unnecessary (require 'cl)

Nicolas Goaziou 3 years ago
parent
commit
e7f2379297

+ 0 - 1
lisp/ob-asymptote.el

@@ -43,7 +43,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (defvar org-babel-tangle-lang-exts)
 (add-to-list 'org-babel-tangle-lang-exts '("asymptote" . "asy"))

+ 0 - 1
lisp/ob-awk.el

@@ -33,7 +33,6 @@
 ;;; Code:
 (require 'ob)
 (require 'org-compat)
-(eval-when-compile (require 'cl))
 
 (declare-function org-babel-ref-resolve "ob-ref" (ref))
 (declare-function orgtbl-to-generic "org-table" (table params))

+ 0 - 2
lisp/ob-clojure.el

@@ -40,8 +40,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile
-  (require 'cl))
 
 (declare-function cider-current-connection "ext:cider-client" (&optional type))
 (declare-function cider-current-session "ext:cider-client" ())

+ 0 - 2
lisp/ob-comint.el

@@ -33,8 +33,6 @@
 (require 'ob-core)
 (require 'org-compat)
 (require 'comint)
-(eval-when-compile
-  (require 'cl))
 (require 'tramp)
 
 (defun org-babel-comint-buffer-livep (buffer)

+ 0 - 1
lisp/ob-eval.el

@@ -28,7 +28,6 @@
 
 ;;; Code:
 (require 'org-macs)
-(eval-when-compile (require 'cl))
 
 (defvar org-babel-error-buffer-name "*Org-Babel Error Output*")
 (declare-function org-babel-temp-file "ob-core" (prefix &optional suffix))

+ 0 - 1
lisp/ob-gnuplot.el

@@ -39,7 +39,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (declare-function org-time-string-to-time "org" (s &optional buffer pos))
 (declare-function org-combine-plists "org" (&rest plists))

+ 0 - 1
lisp/ob-groovy.el

@@ -31,7 +31,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (defvar org-babel-tangle-lang-exts) ;; Autoloaded
 (add-to-list 'org-babel-tangle-lang-exts '("groovy" . "groovy"))

+ 0 - 1
lisp/ob-haskell.el

@@ -41,7 +41,6 @@
 ;;; Code:
 (require 'ob)
 (require 'comint)
-(eval-when-compile (require 'cl))
 
 (declare-function org-remove-indentation "org" (code &optional n))
 (declare-function org-trim "org" (s &optional keep-lead))

+ 0 - 1
lisp/ob-io.el

@@ -33,7 +33,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (defvar org-babel-tangle-lang-exts) ;; Autoloaded
 (add-to-list 'org-babel-tangle-lang-exts '("io" . "io"))

+ 0 - 1
lisp/ob-js.el

@@ -39,7 +39,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (declare-function run-mozilla "ext:moz" (arg))
 

+ 0 - 1
lisp/ob-ocaml.el

@@ -37,7 +37,6 @@
 ;;; Code:
 (require 'ob)
 (require 'comint)
-(eval-when-compile (require 'cl))
 
 (declare-function tuareg-run-caml "ext:tuareg" ())
 (declare-function tuareg-run-ocaml "ext:tuareg" ())

+ 0 - 1
lisp/ob-octave.el

@@ -30,7 +30,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (declare-function matlab-shell "ext:matlab-mode")
 (declare-function matlab-shell-run-region "ext:matlab-mode")

+ 0 - 1
lisp/ob-perl.el

@@ -28,7 +28,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (defvar org-babel-tangle-lang-exts)
 (add-to-list 'org-babel-tangle-lang-exts '("perl" . "pl"))

+ 0 - 1
lisp/ob-picolisp.el

@@ -55,7 +55,6 @@
 ;;; Code:
 (require 'ob)
 (require 'comint)
-(eval-when-compile (require 'cl))
 
 (declare-function run-picolisp "ext:inferior-picolisp" (cmd))
 (defvar org-babel-tangle-lang-exts) ;; Autoloaded

+ 0 - 1
lisp/ob-processing.el

@@ -52,7 +52,6 @@
 ;;; Code:
 (require 'ob)
 (require 'sha1)
-(eval-when-compile (require 'cl))
 
 (declare-function processing-sketch-run "ext:processing-mode" ())
 

+ 0 - 1
lisp/ob-python.el

@@ -28,7 +28,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (declare-function org-remove-indentation "org" )
 (declare-function org-trim "org" (s &optional keep-lead))

+ 0 - 1
lisp/ob-ruby.el

@@ -37,7 +37,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (declare-function org-trim "org" (s &optional keep-lead))
 (declare-function run-ruby "ext:inf-ruby" (&optional command name))

+ 0 - 1
lisp/ob-scala.el

@@ -31,7 +31,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (defvar org-babel-tangle-lang-exts) ;; Autoloaded
 (add-to-list 'org-babel-tangle-lang-exts '("scala" . "scala"))

+ 0 - 1
lisp/ob-sql.el

@@ -57,7 +57,6 @@
 
 ;;; Code:
 (require 'ob)
-(eval-when-compile (require 'cl))
 
 (declare-function org-table-import "org-table" (file arg))
 (declare-function orgtbl-to-csv "org-table" (table params))