branch: elpa/lua-mode
commit 439925467e3631c09b52d4d86201c1e3b25e5702
Merge: a3016a2 8638475
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>
Merge pull request #39
---
lua-mode.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lua-mode.el b/lua-mode.el
index ff13d61..d914a4b 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -154,8 +154,7 @@ Should be a list of strings."
"Buffer used for communication with Lua subprocess")
(defun lua--customize-set-prefix-key (prefix-key-sym prefix-key-val)
- ;; FIXME: enable assertion, it requires 'cl and I'm not sure of its
availability
- ;; (assert (eq prefix-key-sym 'lua-prefix-key))
+ (cl-assert (eq prefix-key-sym 'lua-prefix-key))
(set prefix-key-sym (if (and prefix-key-val (> (length prefix-key-val) 0))
;; read-kbd-macro returns a string or a vector
;; in both cases (elt x 0) is ok
@@ -308,7 +307,7 @@ traceback location."
;; makes sense to me, I'm going to wipe them out as soon as I'm sure
;; that indentation won't get hurt. --immerrr
;;
- (flet
+ (cl-labels
((module-name-re (x)
(concat "\\(?1:\\<"
(if (listp x) (car x) x)