@@ -789,40 +789,41 @@ with the given LIMIT."
789789 deprecated enlightened
790790 macros functions vars instrumented traced)
791791 (cl-labels ((handle-plist
792- (plist)
793- ; ; Note that (memq 'function cider-font-lock-dynamically) and similar statements are evaluated differently
794- ; ; for `core' - they're always truthy for `core' (see related core-handling code some lines below):
795- (let ((do-function (memq 'function cider-font-lock-dynamically))
796- (do-var (memq 'var cider-font-lock-dynamically))
797- (do-macro (memq 'macro cider-font-lock-dynamically))
798- (do-deprecated (memq 'deprecated cider-font-lock-dynamically)))
799- (while plist
800- (let ((sym (pop plist))
801- (meta (pop plist)))
802- (pcase (nrepl-dict-get meta " cider/instrumented" )
803- (`nil nil )
804- (`" \" breakpoint-if-interesting\" "
805- (push sym instrumented))
806- (`" \" light-form\" "
807- (push sym enlightened)))
808- ; ; The ::traced keywords can be inlined by MrAnderson, so
809- ; ; we catch that case too.
810- ; ; FIXME: This matches values too, not just keys.
811- (when (seq-find (lambda (k ) (and (stringp k)
812- (string-match (rx " orchard.trace/traced" eos) k)))
813- meta)
814- (push sym traced))
815- (when (and do-deprecated (nrepl-dict-get meta " deprecated" ))
816- (push sym deprecated))
817- (let ((is-macro (nrepl-dict-get meta " macro" ))
818- (is-function (or (nrepl-dict-get meta " fn" )
819- (nrepl-dict-get meta " arglists" ))))
820- (cond ((and do-macro is-macro)
821- (push sym macros))
822- ((and do-function is-function)
823- (push sym functions))
824- ((and do-var (not is-function) (not is-macro))
825- (push sym vars)))))))))
792+ (plist)
793+ ; ; Note that (memq 'function cider-font-lock-dynamically) and similar statements are evaluated differently
794+ ; ; for `core' - they're always truthy for `core' (see related core-handling code some lines below):
795+ (let ((do-function (memq 'function cider-font-lock-dynamically))
796+ (do-var (memq 'var cider-font-lock-dynamically))
797+ (do-macro (memq 'macro cider-font-lock-dynamically))
798+ (do-deprecated (memq 'deprecated cider-font-lock-dynamically)))
799+ (while plist
800+ (let ((sym (pop plist))
801+ (meta (pop plist)))
802+ (pcase (nrepl-dict-get meta " cider/instrumented" )
803+ (`nil nil )
804+ (`" \" breakpoint-if-interesting\" "
805+ (push sym instrumented))
806+ (`" \" light-form\" "
807+ (push sym enlightened)))
808+ ; ; The ::traced keywords can be inlined by MrAnderson, so
809+ ; ; we catch that case too.
810+ ; ; FIXME: This matches values too, not just keys.
811+ (when (seq-find (lambda (k )
812+ (and (stringp k)
813+ (string-match (rx " orchard.trace/traced" eos) k)))
814+ meta)
815+ (push sym traced))
816+ (when (and do-deprecated (nrepl-dict-get meta " deprecated" ))
817+ (push sym deprecated))
818+ (let ((is-macro (nrepl-dict-get meta " macro" ))
819+ (is-function (or (nrepl-dict-get meta " fn" )
820+ (nrepl-dict-get meta " arglists" ))))
821+ (cond ((and do-macro is-macro)
822+ (push sym macros))
823+ ((and do-function is-function)
824+ (push sym functions))
825+ ((and do-var (not is-function) (not is-macro))
826+ (push sym vars)))))))))
826827 ; ; For core members, we override `cider-font-lock-dynamically' , since all core members should get the same treatment:
827828 (when (memq 'core cider-font-lock-dynamically)
828829 (let ((cider-font-lock-dynamically '(function var macro core deprecated)))
0 commit comments