summaryrefslogtreecommitdiff
path: root/lisp/org
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-03-16 20:41:17 -0400
committerGlenn Morris <rgm@gnu.org>2018-03-16 20:41:17 -0400
commit1c7db8aa30969d0bc0e6d35b9bd57c70314ed9d0 (patch)
tree27600ddb0cdc48349eacb12a7d84af2753576137 /lisp/org
parent9c4ee531158960d3aae50e950b48ca8dce18c0d1 (diff)
downloademacs-1c7db8aa30969d0bc0e6d35b9bd57c70314ed9d0.tar.gz
emacs-1c7db8aa30969d0bc0e6d35b9bd57c70314ed9d0.tar.bz2
emacs-1c7db8aa30969d0bc0e6d35b9bd57c70314ed9d0.zip
Explicitly require cl-lib where needed
Rather than relying on the byte-compiler happening to use it. * lisp/completion.el, lisp/ffap.el, lisp/loadhist.el: * lisp/userlock.el, lisp/emacs-lisp/debug.el, lisp/emacs-lisp/rx.el: * lisp/emacs-lisp/testcover.el, lisp/mail/rfc2231.el: * lisp/net/newst-treeview.el, lisp/net/puny.el: * lisp/net/tramp-archive.el, lisp/net/tramp-gvfs.el: * lisp/net/tramp-sh.el, lisp/net/tramp-smb.el, lisp/org/org-ctags.el: * lisp/org/org-macs.el, lisp/progmodes/grep.el: * lisp/progmodes/perl-mode.el, lisp/progmodes/ruby-mode.el: * lisp/textmodes/dns-mode.el, lisp/textmodes/mhtml-mode.el: * lisp/vc/pcvs-parse.el: Explicitly require cl-lib as needed.
Diffstat (limited to 'lisp/org')
-rw-r--r--lisp/org/org-ctags.el1
-rw-r--r--lisp/org/org-macs.el2
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/org/org-ctags.el b/lisp/org/org-ctags.el
index 72ea76fe751..792f3fe1a3c 100644
--- a/lisp/org/org-ctags.el
+++ b/lisp/org/org-ctags.el
@@ -137,6 +137,7 @@
;;; Code:
+(eval-when-compile (require 'cl-lib))
(require 'org)
(defgroup org-ctags nil
diff --git a/lisp/org/org-macs.el b/lisp/org/org-macs.el
index 79d09e37970..f56672680f2 100644
--- a/lisp/org/org-macs.el
+++ b/lisp/org/org-macs.el
@@ -31,6 +31,8 @@
;;; Code:
+(require 'cl-lib)
+
(defmacro org-with-gensyms (symbols &rest body)
(declare (debug (sexp body)) (indent 1))
`(let ,(mapcar (lambda (s)