How to make Emacs create intermediate dirs - when saving a file?

前端 未结 3 1441
自闭症患者
自闭症患者 2021-02-01 06:40

Is there a way to create folder tree in emacs - similar to

mkdir -p

in bash?

Basically - I want emacs to create all the intemediate dir

3条回答
  •  一整个雨季
    2021-02-01 07:20

    (make-directory DIR &optional PARENTS)

    Create the directory DIR and any nonexistent parent dirs. If DIR already exists as a directory, signal an error, unless PARENTS is set.

提交回复
热议问题