Turn On Line Numbers For Python Automatically In Emacs
I added this to my [TODO: Code shorthand span ] file to turn on relative line numbers when in Python mode :
I had to move this outside of the user [TODO: Code shorthand span ] config section. It doesn't work if you put it in there.
This example uses python. It works with other modes as well. I confirmed the name of the hook finding the name of the variable via [TODO: Code shorthand span ] then typing [TODO: Code shorthand span ] and scanning the results to find what I'm looking for.
~ fin ~