From 23ca5a2d43a4e31d4384cba084d794e5daa5f869 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Mon, 19 Dec 2022 18:02:23 -0300 Subject: [PATCH] Improve (un-)quoting of funcs used in `khoj--get-enabled-content-types' - Based on melpa package feedback for khoj.el - Verified these changes don't affect behavior of the function --- src/interface/emacs/khoj.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interface/emacs/khoj.el b/src/interface/emacs/khoj.el index bb07befc..79ae630f 100644 --- a/src/interface/emacs/khoj.el +++ b/src/interface/emacs/khoj.el @@ -241,9 +241,9 @@ Use `which-key` if available, else display simple message in echo area" (content-type (cdr (assoc 'content-type json-response)))) ;; return content-type items with configuration (mapcar - 'car + #'car (cl-remove-if-not - '(lambda (a) (not (eq (cdr a) :null))) + (lambda (a) (not (eq (cdr a) :null))) content-type)))))) (defun khoj--construct-api-query (query search-type &optional rerank)