diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-10-22 21:09:22 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-10-22 21:09:22 -0400 |
commit | 851de4f6b3e973bdd62463c18050c40d8303a9b0 (patch) | |
tree | 67010432df0eaa5971470781bc1cbb1dea86322f /lisp/init-bib.el | |
parent | ead2b569124f455b23e828650dfa8864aaba414b (diff) | |
download | emacs.d-851de4f6b3e973bdd62463c18050c40d8303a9b0.tar.gz |
Go crazy with anaphoric forms
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) |