0

Loading a certain file (that shall remain nameless) generates the message:

Pattern t is deprecated. Use `_' instead

No position information is given that would identify what expression generates the message. This looks to be from a library, rather than Emacs Lisp. What might be the source of this message (if possible to identify without source code)?

1 Answer 1

1

pcase (part of cl-lib) generates this message when usage conforms to:

(pcase ...
    ...
    (t ...)
)

To address the message, replace t with _ (which is special to pcase).

(pcase ...
    ...
    (_ ...)
)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.