summaryrefslogtreecommitdiff
path: root/lisp/km-bib.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/km-bib.el')
-rw-r--r--lisp/km-bib.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/km-bib.el b/lisp/km-bib.el
index 9625ff8..6d364c0 100644
--- a/lisp/km-bib.el
+++ b/lisp/km-bib.el
@@ -21,7 +21,6 @@
;;; Code:
(require 'bibtex)
-(require 'dash)
(require 'org)
(defvar km/bibtex-unimportant-title-words
@@ -231,7 +230,7 @@ point. The link is opened using the settings of
(defun km/copy-doi-as-kill ()
"Copy DOI at point to kill ring."
(interactive)
- (-when-let (doi (km/doi-at-point))
+ (when-let ((doi (km/doi-at-point)))
(kill-new (message "%s" (concat "doi:" doi)))))
(defun km/doi-at-point ()