update packages
This commit is contained in:
@@ -55,6 +55,15 @@
|
||||
(eval-when-compile
|
||||
(require 'cl-lib))
|
||||
|
||||
|
||||
;; See https://github.com/jkitchin/org-ref/issues/812
|
||||
;; apparently there is a function name change coming in
|
||||
;; (if (and (not (fboundp 'dnd-unescape-uri))
|
||||
;; (fboundp 'dnd--escape-uri))
|
||||
;; (defalias 'dnd-unescape-uri 'dnd--unescape-uri)
|
||||
;; (warn "dnd-unescape-uri is undefined. Some things may not work."))
|
||||
|
||||
|
||||
(defgroup org-ref-url nil
|
||||
"Customization group for org-ref-url-utils"
|
||||
:tag "Org Ref URL"
|
||||
@@ -393,9 +402,11 @@ one in the minibuffer."
|
||||
org-ref-url-bibtex-template)
|
||||
'aget alist)))
|
||||
(goto-char (point-max))
|
||||
;; Place new entry one line after the last entry.
|
||||
(while (not (looking-back "^}\n" 2))
|
||||
(delete-char -1))
|
||||
;; Place new entry one line after the last entry. Sometimes we are in a
|
||||
;; new file though, in which case we don't want to do this.
|
||||
(unless (bobp)
|
||||
(while (not (looking-back "^}\n" 2))
|
||||
(delete-char -1)))
|
||||
(insert "\n")
|
||||
(insert (if (require 'org-cliplink nil 'noerror)
|
||||
;; Sanitize values by replacing html entities
|
||||
|
||||
Reference in New Issue
Block a user