org/org-capture: refactor; fix early autoloading

This commit is contained in:
Henrik Lissner 2017-10-02 20:00:01 +02:00
parent 8ce10af094
commit 4c148ea580
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 10 additions and 7 deletions

View file

@ -26,8 +26,7 @@ Uses the capture template specified by KEY. Otherwise, prompts you for one."
(window-system . ,(cond (IS-MAC 'ns)
(IS-LINUX 'x)
(t 'w32)))
,(when IS-LINUX
'(display . ":0")))
,(if IS-LINUX '(display . ":0")))
"TODO")
;;;###autoload