From 43b8c64543e9db2c4f663c1071c616438b76636e Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 5 Feb 2014 01:37:16 -0500 Subject: Move bog-citekey-format to top of customization --- bog.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bog.el b/bog.el index 135ea94..44514f5 100644 --- a/bog.el +++ b/bog.el @@ -39,6 +39,15 @@ :group 'tools :group 'convenience) +(defcustom bog-citekey-format + "\\([0-9]*[a-z]+[-a-z]*\\)\\([0-9]\\{4\\}\\)\\([a-z]+\\)" + "Regex used to match study citekey. +By default, this matches any sequence of lower case +letters (allowing hyphenation) that is followed by 4 digits and +then lower case letters." + :type 'string + :group 'bog) + (defcustom bog-notes-directory "~/bib" "The name of the directory that Org note are stored in." :group 'bog @@ -84,15 +93,6 @@ alternative is `ido-completing-read'." :group 'bog :type 'string) -(defcustom bog-citekey-format - "\\([0-9]*[a-z]+[-a-z]*\\)\\([0-9]\\{4\\}\\)\\([a-z]+\\)" - "Regex used to match study citekey. -By default, this matches any sequence of lower case -letters (allowing hyphenation) that is followed by 4 digits and -then lower case letters." - :type 'string - :group 'bog) - (defcustom bog-web-search-url "http://scholar.google.com/scholar?q=%s" "URL to use for CITEKEY search. -- cgit v1.2.3