branch: elpa/cdlatex
commit adf96bab0bbf28f65c882c0874f1c14fdb216bd8
Author: Carsten Dominik <carsten.domi...@gmail.com>
Commit: Carsten Dominik <carsten.domi...@gmail.com>

    Switch to use `cl-lib', now correctly
---
 cdlatex.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cdlatex.el b/cdlatex.el
index 2cf3623f47..da0759e0cd 100644
--- a/cdlatex.el
+++ b/cdlatex.el
@@ -317,7 +317,7 @@
 
 ;;; Code:
 
-(eval-when-compile (require 'cl))
+(eval-when-compile (require 'cl-lib))
 
 ;;; Begin of Configuration Section ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
@@ -2114,7 +2114,7 @@ these variables via `cdlatex-add-to-label-alist'."
 
   ;; The direct key bindings.
   (let (map dummy-map prefix modifiers symbol bindings) 
-    (loop for level from 1 to cdlatex-math-symbol-no-of-levels do
+    (cl-loop for level from 1 to cdlatex-math-symbol-no-of-levels do
          (setq dummy-map (make-sparse-keymap))
          (setq prefix (car (nth (1- level)
                                 cdlatex-math-symbol-direct-bindings)))

Reply via email to