dash: refactor

- Replaced `(when (not foo) bar)` with `(unless foo bar)`
This commit is contained in:
Lucius Hu 2021-03-18 01:12:08 -04:00 committed by duianto
parent bec971d061
commit 5c9d88313f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
(defun dash//activate-package-docsets (path)
"Add dash docsets from specified PATH."
(when (not (string-blank-p path))
(unless (string-blank-p path)
(setq dash-docs-docsets-path (expand-file-name path)))
(setq dash-docs-common-docsets (dash-docs-installed-docsets))
(message (format "activated %d docsets from: %s"