Форум — Desktop emacs. как сделать чтобы при открытие несужествующие директории она создавалась 0 0 например я: С-x C-f ~/test/test1/file1 директория test есть, директории test1 и файла file1 нету как сделать так чтобы создавалось.... Ссылка
(defun find-file-ext (filename &optional wildcards) (interactive "FFind file: ") (let ((dir (file-name-directory filename))) (if (not (file-directory-p dir)) (make-directory dir t)) (find-file filename wildcards))) (global-set-key [(control ?x) (control ?f)] 'find-file-ext) uj2 ★★★ (22.11.05 23:05:36 MSK) Ссылка