Преглед изворни кода

ob-clojure: Use cl-lib

* lisp/ob-clojure.el (org-babel-execute:clojure): Silence byte-compiler.
Nicolas Goaziou пре 8 година
родитељ
комит
e3d7492476
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      lisp/ob-clojure.el

+ 2 - 1
lisp/ob-clojure.el

@@ -39,6 +39,7 @@
 ;; web page: http://technomancy.us/126
 
 ;;; Code:
+(require 'cl-lib)
 (require 'ob)
 
 (declare-function cider-current-connection "ext:cider-client" (&optional type))
@@ -86,7 +87,7 @@
   "Execute a block of Clojure code with Babel."
   (let ((expanded (org-babel-expand-body:clojure body params))
 	result)
-    (case org-babel-clojure-backend
+    (cl-case org-babel-clojure-backend
       (cider
        (require 'cider)
        (let ((result-params (cdr (assoc :result-params params))))