Path: utzoo!mnetor!uunet!husc6!mailrus!ames!acornrc!mkupfer From: mkupfer@acornrc.UUCP (Mike Kupfer) Newsgroups: comp.emacs Subject: mkdir in GNU 18.50? Message-ID: <648@acornrc.UUCP> Date: 6 Mar 88 23:07:18 GMT Organization: Olivetti Research Center, Menlo Park Lines: 22 I'm writing some Emacs lisp that creates a directory and populates it with various files. I can't seem to find a function that creates a directory. The best I've been able to do is use shell-command, which means that errors are handled by popping up a window with the error message in it (blech). Question #1: Am I missing something, or is 18.50 really missing a mkdir function? Question #2: If I really have to write my own, is there a better way to do it in Lisp, or is shell-command the best I can do? (I don't want to bother writing a new primitive in C - this is as much an exercise in learning Emacs lisp as it is an attempt to produce useful code.) thanks, mike -- Mike Kupfer Olivetti Research Center 415-496-6238 orc!kupfer@unix.sri.com kupfer@orc.olivetti.com {decwrl!acornrc, ames!acornrc, oliveb}!orc!kupfer ucbvax!kupfer