osx - Change the default directory of emacs with 'cocoa emacs' -
As explained in
, the default directory in .macs (setq default directory "~ / desktop / mag") is inserted < / P>
When I do this with emacs on my Mac, it does not work. C-XC-F still shows ~ / not ~ / Desktop / mag
(CD "User / Smo / Desktop / Mag") also gives me this error - Error: Any such directory is CDPATH Not found through the environmental variable
What has happened to them?
The default directory visible in the prompt for Cx Cf ('find-file'), which is a buffer-local variable When you first start Emacs, the initial buffer displayed is GNU Emacs buffer. The default directory of the buffer is set to the variable command-line-default-directory.
So, try it:
(setq command-line-default-directory "~ / desktop / mag")
Comments
Post a Comment