2016-06-20 07:13:20 +00:00
|
|
|
;;; funcs.el --- Dash Layer functions File for Spacemacs
|
|
|
|
;;
|
2018-01-04 07:00:25 +00:00
|
|
|
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
2016-06-20 07:13:20 +00:00
|
|
|
;;
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
|
|
|
(defun dash//activate-package-docsets (path)
|
|
|
|
"Add dash docsets from specified PATH."
|
2019-05-29 17:18:18 +00:00
|
|
|
(when (not (string-blank-p path))
|
2019-05-16 15:53:58 +00:00
|
|
|
(setq dash-docs-docsets-path (expand-file-name path)))
|
2019-05-29 17:18:18 +00:00
|
|
|
(setq dash-docs-common-docsets (dash-docs-installed-docsets))
|
2016-06-20 07:13:20 +00:00
|
|
|
(message (format "activated %d docsets from: %s"
|
2019-05-29 17:18:18 +00:00
|
|
|
(length dash-docs-common-docsets) path)))
|