diff options
author | Bastien Guerry <bzg@altern.org> | 2012-03-30 21:48:58 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-03-30 21:48:58 +0200 |
commit | 08d9b466225fad7e4cacd593f5ec7d2a4cd878ff (patch) | |
tree | a7d75248eec06e7440ddeb54ec39d9bc4ea04032 | |
parent | c24fa194a62cbbc45fa1b58e39dac293a006a0c9 (diff) | |
download | org-mode-08d9b466225fad7e4cacd593f5ec7d2a4cd878ff.tar.gz |
Fix global dynamic variables prefixes in org-bibtex.el.
Thanks to Martyn Jago for the patch.
-rw-r--r-- | lisp/org-bibtex.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el index 17cdbc2..c1788b4 100644 --- a/lisp/org-bibtex.el +++ b/lisp/org-bibtex.el @@ -112,7 +112,7 @@ (eval-when-compile (require 'cl)) -(defvar description nil) ; dynamically scoped from org.el +(defvar org-bibtex-description nil) ; dynamically scoped from org.el (defvar org-id-locations) (declare-function bibtex-beginning-of-entry "bibtex" ()) @@ -467,7 +467,7 @@ With optional argument OPTIONAL, also prompt for optional fields." :btype (or (cdr (assoc "=type=" entry)) "[no type]") :type "bibtex" :link link - :description description)))) + :description org-bibtex-description)))) (defun org-create-file-search-in-bibtex () "Create the search string and description for a BibTeX database entry." @@ -485,7 +485,7 @@ With optional argument OPTIONAL, also prompt for optional fields." (bibtex-autokey-titleword-case-convert-function 'identity) (bibtex-autokey-titleword-length 'infty) (bibtex-autokey-year-title-separator ": ")) - (setq description (bibtex-generate-autokey))) + (setq org-bibtex-description (bibtex-generate-autokey))) ;; Now parse the entry, get the key and return it. (save-excursion (bibtex-beginning-of-entry) |