mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Update set-docset! documentation
And remove redundant documentation for obsolete :docset.
This commit is contained in:
@ -9,9 +9,13 @@
|
||||
|
||||
;;;###autodef
|
||||
(defun set-docset! (modes &rest docsets)
|
||||
"Registers a list of DOCSETS (strings) for MODES (either one major mode
|
||||
"Registers a list of DOCSETS (strings) for MODES (either one major/minor mode
|
||||
symbol or a list of them).
|
||||
|
||||
If MODES is a minor mode, you can use :add or :remove as the first element of
|
||||
DOCSETS, to instruct it to append (or remove) those from the docsets already set
|
||||
by a major-mode, if any.
|
||||
|
||||
Used by `+lookup/in-docsets' and `+lookup/documentation'."
|
||||
(declare (indent defun))
|
||||
(dolist (mode (doom-enlist modes))
|
||||
@ -33,14 +37,6 @@ Used by `+lookup/in-docsets' and `+lookup/documentation'."
|
||||
;; FIXME obsolete :docset
|
||||
;;;###autoload
|
||||
(def-setting! :docset (modes &rest docsets)
|
||||
"Registers a list of DOCSETS (strings) for MODES (either one major mode
|
||||
symbol or a list of them).
|
||||
|
||||
If MODES is a minor mode, you can use :add or :remove as the first element of
|
||||
DOCSETS, to instruct it to append (or remove) those from the docsets already set
|
||||
by a major-mode, if any.
|
||||
|
||||
Used by `+lookup/in-docsets' and `+lookup/documentation'."
|
||||
:obsolete set-docset!
|
||||
`(set-docset! ,modes ,@docsets))
|
||||
|
||||
|
Reference in New Issue
Block a user