THOU SHALT NOT WORSHIP FALSE IDOLS, said the byte compiler

And I obeyed.
This commit is contained in:
Henrik Lissner 2018-01-06 04:24:37 -05:00
parent d738a8d13a
commit 48b0a468d1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 6 additions and 7 deletions

View file

@ -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