Open rschmukler opened 1 month ago
@bbatsov Upon thinking about this further, I think that the proper name should actually be var-node-p
or variable-node-p
. The problem is that there is already a variable-node-p
which returns whether a node is a def
or defonce
. I think we should do the following:
variable-node-p
to variable-definition-node-p
quoted-var-node-p
to var-node-p
I think calling it anything else will be a bit confusing since it is technically a variable... ie:
(type #'filter)
;; => clojure.lang.Variable
I have updated the PR with these changes, but I am also happy to change it to whatever you want. Let me know!
@bbatsov just pinging you on this. No rush, just a reminder :)
Fixes an error where quoted functions would not align correctly with semantic indentation. Adds an example to the test sample.
Before submitting a PR mark the checkboxes for the items you've done (if you think a checkbox does not apply, then leave it unchecked):
M-x checkdoc
and fixed any warnings in the code you've written.Thanks!