Skip to content

Commit

Permalink
Package cl is deprecated since Emacs 27 (jrblevin#77)
Browse files Browse the repository at this point in the history
Switch to cl-lib
  • Loading branch information
yannickmorin committed Aug 24, 2020
1 parent fca9ea0 commit 1711ffc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions deft.el
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@

;;; Code:

(require 'cl)
(require 'cl-lib)
(require 'widget)
(require 'wid-edit)

Expand Down Expand Up @@ -1574,7 +1574,7 @@ all elements."
(when title (insert title))
(when contents (insert contents)))
(if batch
(if (every (lambda (filter)
(if (cl-every (lambda (filter)
(goto-char (point-min))
(deft-search-forward filter))
deft-filter-regexp)
Expand Down Expand Up @@ -1857,7 +1857,6 @@ Turning on `deft-mode' runs the hook `deft-mode-hook'.
(provide 'deft)

;; Local Variables:
;; byte-compile-warnings: (not cl-functions)
;; indent-tabs-mode: nil
;; End:

Expand Down

0 comments on commit 1711ffc

Please sign in to comment.