diff options
Diffstat (limited to 'lisp/init-bib.el')
-rw-r--r-- | lisp/init-bib.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-bib.el b/lisp/init-bib.el index 4ae4ffe..ae15305 100644 --- a/lisp/init-bib.el +++ b/lisp/init-bib.el @@ -71,8 +71,8 @@ way." (when (equal (thing-at-point 'word) "doi") (backward-word) (re-search-forward "doi:[ \t\n]*")) - (-if-let (http-doi (thing-at-point 'url)) - (replace-regexp-in-string "http://" "" http-doi) + (--if-let (thing-at-point 'url) + (replace-regexp-in-string "http://" "" it) (user-error "No DOI found at point")))) (provide 'init-bib) |