Fork me on GitHub

Hey all: I need a function that is basically a predicate for whether or not I'm writing lisp code. I was thinking I could set a buffer local variable via a lisp-mode-hook, and then just check the value of that variable, but there's probably a easier way, no?