Skip to content

Commit fe5c6d9

Browse files
committed
Remove dependency to cl-lib
1 parent 73f4a45 commit fe5c6d9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

helm-qiita.el

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
;; Author: Takashi Masuda <masutaka.net@gmail.com>
66
;; URL: https://github.com/masutaka/emacs-helm-qiita
77
;; Version: 1.0.0
8-
;; Package-Requires: ((helm "1.9.5") (cl-lib "0.5"))
8+
;; Package-Requires: ((helm "1.9.5"))
99

1010
;; This program is free software: you can redistribute it and/or modify
1111
;; it under the terms of the GNU General Public License as published by
@@ -27,7 +27,6 @@
2727

2828
(require 'helm)
2929
(require 'json)
30-
(require 'cl-lib)
3130

3231
(defgroup helm-qiita nil
3332
"Qiita with helm interface"
@@ -261,7 +260,7 @@ Argument RESPONSE-BODY is http response body as a json"
261260
"Return tags of STOCK, as an list."
262261
(let ((tags (cdr (assoc 'tags stock))) result)
263262
(dotimes (i (length tags))
264-
(cl-pushnew (cdr (assoc 'name (aref tags i))) result :test #'equal))
263+
(setq result (cons (cdr (assoc 'name (aref tags i))) result)))
265264
(reverse result)))
266265

267266
;;; Debug

0 commit comments

Comments
 (0)