summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-05 01:37:16 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-05 01:37:16 -0500
commit43b8c64543e9db2c4f663c1071c616438b76636e (patch)
tree7d20992138b128b0fc43cad3e599056986eeac31
parent5059ebcccf7693910091d3ff33777c4854627c7b (diff)
downloadbog-43b8c64543e9db2c4f663c1071c616438b76636e.tar.gz
Move bog-citekey-format to top of customization
-rw-r--r--bog.el18
1 files 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.