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?

"post-text" itemprop = "text">

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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -