fix(docs): if doom-emacs-dir doesn't end w/ slash

Doom is slowly transitioning away from requiring that its doom-*-dir
variables end in a slash (see two refs below), but there are some
vestiges of it left. This is one of them.

Fix: #6842
Ref: 00e8f6b72a
Ref: b914830403
This commit is contained in:
Henrik Lissner 2022-09-25 18:19:37 +02:00
parent 2bb7e8d018
commit d362490d45
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -13,7 +13,7 @@
;;; Code:
;;;###autoload
(defvar doom-docs-dir (concat doom-emacs-dir "docs/")
(defvar doom-docs-dir (file-name-concat doom-emacs-dir "docs/")
"Where Doom's documentation files are stored. Must end with a slash.")
;; DEPRECATED Will be renamed once docs "framework" is generalized