diff options
Diffstat (limited to 'lisp/files.el')
| -rw-r--r-- | lisp/files.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/files.el b/lisp/files.el index edbeb43e9b9..54d21a8a5be 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -6276,7 +6276,7 @@ Before and after saving the buffer, this function runs | |||
| 6276 | (when save-silently (message nil))) | 6276 | (when save-silently (message nil))) |
| 6277 | ;; If we failed, restore the buffer's modtime. | 6277 | ;; If we failed, restore the buffer's modtime. |
| 6278 | (error (set-visited-file-modtime old-modtime) | 6278 | (error (set-visited-file-modtime old-modtime) |
| 6279 | (signal (car err) (cdr err)))) | 6279 | (signal err))) |
| 6280 | ;; Since we have created an entirely new file, | 6280 | ;; Since we have created an entirely new file, |
| 6281 | ;; make sure it gets the right permission bits set. | 6281 | ;; make sure it gets the right permission bits set. |
| 6282 | (setq setmodes | 6282 | (setq setmodes |
| @@ -6680,7 +6680,7 @@ Return non-nil if DIR is already a directory." | |||
| 6680 | (make-directory-internal dir) | 6680 | (make-directory-internal dir) |
| 6681 | (error | 6681 | (error |
| 6682 | (or (file-directory-p dir) | 6682 | (or (file-directory-p dir) |
| 6683 | (signal (car err) (cdr err)))))) | 6683 | (signal err))))) |
| 6684 | 6684 | ||
| 6685 | (defun make-directory (dir &optional parents) | 6685 | (defun make-directory (dir &optional parents) |
| 6686 | "Create the directory DIR and optionally any nonexistent parent dirs. | 6686 | "Create the directory DIR and optionally any nonexistent parent dirs. |
| @@ -6753,7 +6753,7 @@ This acts like (apply FN ARGS) except it returns NO-SUCH if it is | |||
| 6753 | non-nil and if FN fails due to a missing file or directory." | 6753 | non-nil and if FN fails due to a missing file or directory." |
| 6754 | (condition-case err | 6754 | (condition-case err |
| 6755 | (apply fn args) | 6755 | (apply fn args) |
| 6756 | (file-missing (or no-such (signal (car err) (cdr err)))))) | 6756 | (file-missing (or no-such (signal err))))) |
| 6757 | 6757 | ||
| 6758 | (defun delete-file (filename &optional trash) | 6758 | (defun delete-file (filename &optional trash) |
| 6759 | "Delete file named FILENAME. If it is a symlink, remove the symlink. | 6759 | "Delete file named FILENAME. If it is a symlink, remove the symlink. |
| @@ -6994,7 +6994,7 @@ into NEWNAME instead." | |||
| 6994 | (make-directory (directory-file-name newname) parents) | 6994 | (make-directory (directory-file-name newname) parents) |
| 6995 | (error | 6995 | (error |
| 6996 | (or (file-directory-p newname) | 6996 | (or (file-directory-p newname) |
| 6997 | (signal (car err) (cdr err))))))) | 6997 | (signal err)))))) |
| 6998 | 6998 | ||
| 6999 | ;; Copy recursively. | 6999 | ;; Copy recursively. |
| 7000 | (dolist (file | 7000 | (dolist (file |