got rid of lexical variable at the top. I don't think I need it, it was inserted by auto-insert. moved Package-requires up with rest of package info.
-;;; doi-utils.el --- DOI utilities for making bibtex entries and downloading PDFs -*- lexical-binding: t; -*-
+;;; doi-utils.el --- DOI utilities for making bibtex entries
;; Copyright (C) 2015 John Kitchin
;; Author: John Kitchin <jkitchin@andrew.cmu.edu>
;; Keywords: convenience
;; Copyright (C) 2015 John Kitchin
;; Author: John Kitchin <jkitchin@andrew.cmu.edu>
;; Keywords: convenience
+;; Version: 0.1
+;; Package-Requires: ((org-ref))
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; - doi-utils-add-bibtex-entry-from-region to add an entry from a highlighed doi to your default bibliography.
;; - doi-utils-update-bibtex-entry-from-doi with cursor in an entry to update its fields.
;; - doi-utils-add-bibtex-entry-from-region to add an entry from a highlighed doi to your default bibliography.
;; - doi-utils-update-bibtex-entry-from-doi with cursor in an entry to update its fields.
-;; Package-Requires: ((org-ref))
-
(require 'json)
;;; Code:
(require 'json)
;;; Code: