summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Lassieur <clement.lassieur@parrot.com>2018-04-26 12:51:27 +0200
committerClément Lassieur <clement.lassieur@parrot.com>2018-04-26 12:51:27 +0200
commit3f513a1e4b8434ba55eecfe75a3cd5a9012e8809 (patch)
tree1148d1bf540b655619189a535db1abc23fbb9096
parent10658a56ad0e8488fcb71cdddff0dd50b69c48d7 (diff)
downloadparrot-3f513a1e4b8434ba55eecfe75a3cd5a9012e8809.tar.gz
gerrit: make sure 'search' is available to Emacs 24
-rw-r--r--parrot-gerrit.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/parrot-gerrit.el b/parrot-gerrit.el
index 260ad76..bbd1010 100644
--- a/parrot-gerrit.el
+++ b/parrot-gerrit.el
@@ -228,7 +228,8 @@ stored in that file."
(interactive (list (ido-completing-read "Select project: "
(call-interactively
'gerrit-fetch-projects))))
- (if (and (search "manifest" project)
+ (require 'cl)
+ (if (and (cl-search "manifest" project)
(y-or-n-p "Use repo init instead of git clone? "))
(gerrit-repo-init-project project)
(let ((default-directory