From e26c39c06fc5085ba48d3e5b0df5ceb64ee5f02d Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 15 Oct 2014 02:25:27 -0400 Subject: bog-selection-method: Add docstring --- bog.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bog.el b/bog.el index 89c777f..25f89ba 100644 --- a/bog.el +++ b/bog.el @@ -182,6 +182,11 @@ level to operate on." ;;; Citekey methods (defmacro bog-selection-method (name context-method collection-method) + "Create citekey selection function. +Function will be named bog-citekey-from-NAME and will take one +argument (NO-CONTEXT). If NO-CONTEXT is nil, CONTEXT-METHOD will +be called with no arguments. If +" `(defun ,(intern (concat "bog-citekey-from-" name)) (no-context) (or (and no-context (bog-select-citekey (,collection-method))) (,context-method) -- cgit v1.2.3