aboutsummaryrefslogtreecommitdiff
path: root/coq/coq-db.el
diff options
context:
space:
mode:
authorDavid Aspinall2009-09-16 10:31:28 +0000
committerDavid Aspinall2009-09-16 10:31:28 +0000
commit7fb5e30e23dbefe96aa4bee9df9e7c161d7e4ac1 (patch)
tree7f413c8f18227e06dc2f2a617586201ab93188e4 /coq/coq-db.el
parentd1ce95f0ffb1ed45305b7b56664fbc10cd1fbfef (diff)
Fix compile warnings
Diffstat (limited to 'coq/coq-db.el')
-rw-r--r--coq/coq-db.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/coq/coq-db.el b/coq/coq-db.el
index c063b6dd..4b8d53cd 100644
--- a/coq/coq-db.el
+++ b/coq/coq-db.el
@@ -14,7 +14,9 @@
;;; Code:
-(require 'cl)
+(eval-when-compile
+ (require 'cl))
+
(require 'proof-config) ; for proof-face-specs, a macro
(require 'holes)
@@ -171,7 +173,7 @@ for DB structure."
Submenus contain SIZE entries (default 30). See `coq-syntax-db' for DB
structure."
;; sort is destructive for the list, so copy list before sorting
- (let* ((l (coq-sort-menu-entries (copy-list db))) (res ())
+ (let* ((l (coq-sort-menu-entries (copy-sequence db))) (res ())
(wdth (+ 2 (max-length-db db)))
(sz (or size 30)) (lgth (length l)))
(while l