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

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

[nongnu] elpa/org-contrib 154706048a: * lisp/org-bibtex-extras.el: Decla


From: ELPA Syncer
Subject: [nongnu] elpa/org-contrib 154706048a: * lisp/org-bibtex-extras.el: Declare defcustom types
Date: Mon, 18 Sep 2023 07:00:02 -0400 (EDT)

branch: elpa/org-contrib
commit 154706048a84c09a2b7257f0665c78b85bce5f99
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    * lisp/org-bibtex-extras.el: Declare defcustom types
    
    (obe-bibtex-file):
    (obe-html-link-base): Add :type definition.
---
 lisp/org-bibtex-extras.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lisp/org-bibtex-extras.el b/lisp/org-bibtex-extras.el
index f4a04014f0..04d093f478 100644
--- a/lisp/org-bibtex-extras.el
+++ b/lisp/org-bibtex-extras.el
@@ -63,14 +63,16 @@
 
 (declare-function org-trim "org" (s &optional keep-lead))
 
-(defcustom obe-bibtex-file nil "File holding bibtex entries.")
+(defcustom obe-bibtex-file nil
+  "File holding bibtex entries."
+  :type 'file)
 
 (defcustom obe-html-link-base nil
   "Base of citation links.
 For example, to point to your `obe-bibtex-file' use the following.
 
-  (setq obe-html-link-base (format \"file:%s\" obe-bibtex-file))
-")
+  (setq obe-html-link-base (format \"file:%s\" obe-bibtex-file))"
+  :type 'string)
 
 (defvar obe-citations nil)
 (defun obe-citations ()



reply via email to

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