saving a file in emacs
I am wondering how I can change where the file gets saved when using emacs??
I am writing PHP code and when I save the file it automatically gets saved in my folder, I want to set it so that I can save it in any folder, specifically var/www/html folder. Thanks in advance for any advice you may provide.:) |
Press CTRL-x CTRL-w to get to the "Write file:" prompt.
Then you can edit the path using normal emacs keys. For example, press CTRL-a to get to the start of the path name, and CTRL-k to delete it, then type the path and filename you want. And, of course, CTRL-g lets you abort the attempt so you can return to the document and think about it. |
emacs question
Thanks a lot Ken, that is exactly the answer I was looking for.
:D |
All times are GMT -5. The time now is 02:27 PM. |