Fix obsolete (when|if)-let messages in Emacs 26

This commit is contained in:
Henrik Lissner
2017-12-10 14:49:52 -05:00
parent e168118243
commit 76a4ae459d
40 changed files with 110 additions and 103 deletions

View File

@@ -4,7 +4,7 @@
"The directory where org files are kept.")
;; Ensure ELPA org is prioritized above built-in org.
(when-let (path (locate-library "org" nil doom--package-load-path))
(when-let* ((path (locate-library "org" nil doom--package-load-path)))
(setq load-path (delete path load-path))
(push (file-name-directory path) load-path))