From 851de4f6b3e973bdd62463c18050c40d8303a9b0 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 22 Oct 2014 21:09:22 -0400 Subject: Go crazy with anaphoric forms --- lisp/init-bib.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/init-bib.el') 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) -- cgit v1.2.3