mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-15 13:23:42 -05:00
THOU SHALT NOT WORSHIP FALSE IDOLS, said the byte compiler
And I obeyed.
This commit is contained in:
@@ -180,6 +180,8 @@ Goes down a list of possible backends:
|
||||
(unless (string-empty-p pattern)
|
||||
(cl-pushnew pattern devdocs-search-history))))
|
||||
|
||||
(defvar counsel-dash-docsets)
|
||||
(defvar helm-dash-docsets)
|
||||
;;;###autoload
|
||||
(defun +lookup/in-docsets (&optional query docsets)
|
||||
"TODO"
|
||||
|
@@ -140,9 +140,9 @@ Used by `+lookup/in-docsets' and `+lookup/documentation'."
|
||||
collect
|
||||
`(defun ,hook-sym ()
|
||||
(make-variable-buffer-local ',var-sym)
|
||||
(cond ((eq (car docsets) :add)
|
||||
(cond ((eq ',(car docsets) :add)
|
||||
`(setq ,var-sym (append ,var-sym (list ,@(cdr docsets)))))
|
||||
((eq (car docsets) :remove)
|
||||
((eq ',(car docsets) :remove)
|
||||
`(setq ,var-sym
|
||||
(cl-loop with to-delete = (list ,@(cdr docsets))
|
||||
for docset in ,var-sym
|
||||
|
Reference in New Issue
Block a user