Use cookie for journal feature check

The :when option in the use-package clause is then removed

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
Rudi Grinberg 2019-09-18 13:30:26 +09:00
parent aa1d2f5d51
commit baf9b3bc87

View file

@ -1,8 +1,8 @@
;;; lang/org/contrib/journal.el -*- lexical-binding: t; -*-
;;;###if (featurep! +journal)
(use-package! org-journal
:defer t
:when (featurep! +journal)
:config
(map! :map org-journal-search-mode-map
:localleader