Skip to content

Commit

Permalink
Use noflet instead of cl-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
rejeep committed Oct 9, 2014
1 parent 9d7592f commit ff84c8c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ansi.el
Expand Up @@ -7,7 +7,7 @@
;; Version: 0.3.0
;; Keywords: color, ansi
;; URL: http://github.com/rejeep/ansi
;; Package-Requires: ((s "1.6.1") (dash "1.5.0") (cl-lib "0.5"))
;; Package-Requires: ((s "1.6.1") (dash "1.5.0") (noflet "0.0.11"))

;; This file is NOT part of GNU Emacs.

Expand All @@ -30,8 +30,7 @@

;;; Code:

(eval-when-compile
(require 'cl-lib))
(require 'noflet)
(require 'dash)
(require 's)

Expand Down Expand Up @@ -105,7 +104,7 @@

(defmacro with-ansi (&rest body)
"In this block shortcut names (without ansi- prefix) can be used."
`(cl-flet
`(noflet
,(-map
(lambda (alias)
(let ((fn (intern (format "ansi-%s" (symbol-name alias)))))
Expand Down

0 comments on commit ff84c8c

Please sign in to comment.