Add open-manual command (docs don't exist yet though!)

This commit is contained in:
Henrik Lissner 2018-05-20 12:14:36 +02:00
parent f80be3682b
commit b82ef2cee6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -41,6 +41,9 @@
(stylus-mode :lang web)) (stylus-mode :lang web))
"TODO") "TODO")
(defvar doom-docs-dir (concat doom-emacs-dir "docs/")
"TODO")
;; ;;
;; Helpers ;; Helpers
@ -164,3 +167,8 @@ whose car is the list of faces and cadr is the list of overlay faces."
(t (t
(and (or faces overlays) (and (or faces overlays)
(list faces overlays)))))) (list faces overlays))))))
;;;###autoload
(defun doom//open-manual ()
(interactive)
(find-file (expand-file-name "index.org" doom-docs-dir)))