comparison lisp/files.el @ 13980:ad74bc8e877f

(make-directory): Doc fix.
author Karl Heuer <kwzh@gnu.org>
date Thu, 04 Jan 1996 23:34:55 +0000
parents 936c8364e15a
children c73d14ef6a6a
comparison
equal deleted inserted replaced
13979:278af59c9e29 13980:ad74bc8e877f
1320 ((or (get var 'risky-local-variable) 1320 ((or (get var 'risky-local-variable)
1321 (and 1321 (and
1322 (string-match "-hooks?$\\|-functions?$\\|-forms?$\\|-program$\\|-command$" 1322 (string-match "-hooks?$\\|-functions?$\\|-forms?$\\|-program$\\|-command$"
1323 (symbol-name var)) 1323 (symbol-name var))
1324 (not (get var 'safe-local-variable)))) 1324 (not (get var 'safe-local-variable))))
1325 ;; Permit evaling a put of a harmless property 1325 ;; Permit evalling a put of a harmless property.
1326 ;; if the args do nothing tricky. 1326 ;; if the args do nothing tricky.
1327 (if (or (and (eq var 'eval) 1327 (if (or (and (eq var 'eval)
1328 (consp val) 1328 (consp val)
1329 (eq (car val) 'put) 1329 (eq (car val) 'put)
1330 (hack-one-local-variable-quotep (nth 1 val)) 1330 (hack-one-local-variable-quotep (nth 1 val))
2038 2038
2039 (defun make-directory (dir &optional parents) 2039 (defun make-directory (dir &optional parents)
2040 "Create the directory DIR and any nonexistent parent dirs. 2040 "Create the directory DIR and any nonexistent parent dirs.
2041 Interactively, the default choice of directory to create 2041 Interactively, the default choice of directory to create
2042 is the current default directory for file names. 2042 is the current default directory for file names.
2043 That is useful when you have visited a file in a nonexistint directory. 2043 That is useful when you have visited a file in a nonexistent directory.
2044 2044
2045 Noninteractively, the second (optional) argument PARENTS says whether 2045 Noninteractively, the second (optional) argument PARENTS says whether
2046 to create parent directories if they don't exist." 2046 to create parent directories if they don't exist."
2047 (interactive 2047 (interactive
2048 (list (read-file-name "Make directory: " default-directory default-directory 2048 (list (read-file-name "Make directory: " default-directory default-directory