package_of matched the file being edited against a package's directory, which is right for every package that is one — and answers "not a package" for one that is a single file, because the file's directory is not the file. A form typed into sand.flan with the headless driver running would have spliced as a bare step, the evaluation would have said ok, and the program would have gone on calling the step it already had. That is the exact silent failure the function exists to prevent, so it now matches the file too.
Description
Languages
OCaml
67.2%
Emacs Lisp
15.2%
C
10.4%
HTML
2.9%
Standard ML
2.8%
Other
1.5%