Just passing this along, fwiw.
I inherited a folder full of AutoLISP files from previous CAD Manager, and needed a way to peruse them. The "preview pane" in Windows Explorer didn't recognize LSP files as a text file. I ran across this registry hack for .LOG files that, with a slight tweak, worked like a charm.
I followed Ivan's instructions for creating a REG file and just modified it, changing the ".log" to ".lsp". It creates a text (REG) file that modifies your registry accordingly.
Obviously, you can tweak this to work with other types of code files as well.Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.lsp]
@="txtfile"
"Content Type"="text/plain"
"PerceivedType"="text"
Enjoy!