From 5dee070fb2deedcbb3d0527c7484deb8973e7817 Mon Sep 17 00:00:00 2001 From: Bastien Date: Sat, 22 Feb 2020 10:33:07 +0100 Subject: [PATCH] lisp/ol-bbdb.el (org-bbdb-anniversaries): Enhance docstring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lisp/ol-bbdb.el (org-bbdb-anniversaries): Enhance docstring. Thanks to Andrés Ramírez for suggesting this. --- lisp/ol-bbdb.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ol-bbdb.el b/lisp/ol-bbdb.el index c6e5ab35f..0953aff57 100644 --- a/lisp/ol-bbdb.el +++ b/lisp/ol-bbdb.el @@ -362,7 +362,9 @@ This is used by Org to re-create the anniversary hash table." ;;;###autoload (defun org-bbdb-anniversaries () - "Extract anniversaries from BBDB for display in the agenda." + "Extract anniversaries from BBDB for display in the agenda. +When called programmatically, this function expects the `date' +variable to be globally bound." (require 'bbdb) (require 'diary-lib) (unless (hash-table-p org-bbdb-anniv-hash)