emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/bbdb 48b97da: require cl-lib


From: Roland Winkler
Subject: [elpa] externals/bbdb 48b97da: require cl-lib
Date: Mon, 28 Sep 2020 13:42:15 -0400 (EDT)

branch: externals/bbdb
commit 48b97dacfdb1909d0d39808c7b8ecedf71d03cb4
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Roland Winkler <winkler@gnu.org>

    require cl-lib
---
 bbdb-com.el     | 2 ++
 bbdb-migrate.el | 1 +
 bbdb-mua.el     | 4 ++--
 bbdb-tex.el     | 3 ++-
 bbdb.el         | 1 +
 5 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/bbdb-com.el b/bbdb-com.el
index 3d13c14..a261c85 100644
--- a/bbdb-com.el
+++ b/bbdb-com.el
@@ -181,6 +181,8 @@ With prefix ARG a negative number, do not invert next 
search."
   (bbdb-prefix-message))
 
 (defmacro bbdb-search (records &rest spec)
+  ;; FIXME: Provide a functional interface so client code can be compiled
+  ;; without having BBDB around!
   "Search RECORDS for fields matching SPEC.
 The following keywords are supported in SPEC to search fields in RECORDS
 matching the regexps RE:
diff --git a/bbdb-migrate.el b/bbdb-migrate.el
index 0270c72..6b196df 100644
--- a/bbdb-migrate.el
+++ b/bbdb-migrate.el
@@ -37,6 +37,7 @@
 
 ;;; Code:
 
+(require 'cl-lib)
 (require 'bbdb)
 
 ;;; Migrating the BBDB
diff --git a/bbdb-mua.el b/bbdb-mua.el
index 671a45e..455900e 100644
--- a/bbdb-mua.el
+++ b/bbdb-mua.el
@@ -1,6 +1,6 @@
 ;;; bbdb-mua.el --- various MUA functionality for BBDB -*- lexical-binding: t 
-*-
 
-;; Copyright (C) 2010-2018  Free Software Foundation, Inc.
+;; Copyright (C) 2010-2020  Free Software Foundation, Inc.
 
 ;; This file is part of the Insidious Big Brother Database (aka BBDB),
 
@@ -240,7 +240,7 @@ Usually this function is called by the wrapper 
`bbdb-mua-update-records'."
   ;; with the chain `bbdb-mua-auto-update-p' -> `bbdb-select-message'
   ;; -> `bbdb-update-records-p'.
   (while (and (functionp update-p)
-              ;; Bad! `search' is a function in `cl-seq.el'.
+              ;; Bad! `search' is a function in `cl.el'.
               (not (eq update-p 'search)))
     (setq update-p (funcall update-p)))
   (cond ((eq t update-p)
diff --git a/bbdb-tex.el b/bbdb-tex.el
index fbdf95b..c3c156a 100644
--- a/bbdb-tex.el
+++ b/bbdb-tex.el
@@ -1,6 +1,6 @@
 ;;; bbdb-tex.el --- feed BBDB into LaTeX  -*- lexical-binding: t -*-
 
-;; Copyright (C) 2010-2017  Free Software Foundation, Inc.
+;; Copyright (C) 2010-2020  Free Software Foundation, Inc.
 
 ;; Authors: Boris Goldowsky <boris@cs.rochester.edu>
 ;;          Dirk Grunwald <grunwald@cs.colorado.edu>
@@ -103,6 +103,7 @@
 
 ;;; Code:
 
+(eval-when-compile (require 'cl-lib))
 (require 'bbdb)
 (require 'bbdb-com)
 
diff --git a/bbdb.el b/bbdb.el
index 05967ec..051b21d 100644
--- a/bbdb.el
+++ b/bbdb.el
@@ -37,6 +37,7 @@
 
 ;;; Code:
 
+(eval-when-compile (require 'cl-lib))
 (require 'timezone)
 (require 'bbdb-site)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]